The ignition switch controls the fuel shut-off solenoid. Use aligator clips until you are able to find and solve the problem.
It might be the plug in the back of the switch is corroded. Clean and try again. Replace if they are rotted.
I am not sure which terminal is for the fuel shut-off. If I were to guess, I would guess it is marked "ACCY" for accessory.