Electronic ignition help needed !!

also your ign switch could be worn out... bad contacts inside the switch

the all or nothing makes me think a loose connection. a wire or inside the ignition switch itself.