I had an issue with similar symptoms recently.
In the end it was the wire running from kill switch to ignition that chaffed through.
When turning the handle bar, it would touch the frame and would pop a fuse.
That piece of gravel can become a bit of fun if it does get a spittle of rain. seen a lot of bikes going side ways there during the early Freestate bash days.