ECU's can break.
If it's not the rectifier, generator, battery, fuses, relays, earths...then I would probably say the only thing left is the ECU.
The lights coming on and going off is interesting, I would be surprised, but you could investigate the ignition barrel.
There is a specific light...