G'day.
I'm guessing the red & white wires, the ones with heat shrink are the ignition wires. That should make it easy.
With a multimeter (you do have one?) set to ohms, turn the key to on.
It's on when you can't pull the key out.
Test each combination of 2 terminals on the switch until one combo reads "0”. That's the pair you want.
To be sure, now turn the key off & test again.
Those terminals should now test open or "OL".
Solder the wires back on.
TIP! Make sure you slide the nut onto the wires & feed the wires through the mounting hole BEFORE you solder!
AussieRider