It's going to be a corroded connection that's losing contact. Fuse box, kill switch, or side stand switch are the most obvious but I'd also inspect the ground wire from the battery to the frame. Why? Because that poor ground could be the culprit in the RR failures as well. Since the regulator works by draining the excess voltage to ground a dodgy connection could easily overheat the unit. Worth a close look.