The Keyboard Shortcuts menu is in the Edit menu.
When it opens, type the word Undo in the Search box.
That will present you with the Ctrl-z shortcut. Click on the shortcut and type whatever key you want to use. If it is allowed, it will take it. If not it will complain.