Check the wires at the back of your switch to make sure none have come loose and also check the two circled in red to make sure they are not loose. I believe the one with the fork terminal is the one that fastens to the coil circuit near your carburetor and is used to ground the ignition when you shut it off. If that has come loose, neither the ignition switch nor the safety switches will kill it.