To add to the above, you can do a permanently-temporary fix by connecting a capacitor from the central LT mag connection (the connection going to the kill switch) and earth.
This will prove the internal cap is duff or not, and if it is, will allow you to keep running the bike until such times as you can get the mag rebuilt.