Lots of times you can hace cap and wire problems that act like that. Old switches etc .. ttim the plug wire and try a new cap . Sparkies are cheap and work
Yes trim the plug wire and try a new cap. Also make sure your battery has a decent charge. Taking apart the kill switch or simply spraying it with PB Blaster will loosen up rust and corrosion that may be causing a short in the connections.