quik look...https://www.amazon.com/FridayParts-Ignition-66101-55200-6610155200-BX1500D/dp/B09G2XNVLB is one I found ...
testing is easy, IF the wire colours are same as the diagram....
remove from tractor,go into nice warm house.
use 'beeping' ohmeter with clips. one goes to 'bat' terminal,should be big RED wire.
now connect other probe to the big blk/red wire terminal.
turning key to 'preheat' or 'glow plug' (3rd position) should get you a beeeeeeeeep.
another test you can do..
connect a 12ga wire to that B/R wire going to the 'lamp and GPs', briefly connect to battery +ve. It'll spark ! and you should get lamp to light and GPs to warm up. Put a voltmeter at the GP bus,it'll read 10-12 volts.
If this works then bad switch, cause the wiring is A-OK.