If you have a multi-meter, or even hardware sensors on your mobo, you could see if the PSU is failing.
I remember once (many eons ago) I had a 286 that went wonky when turning it on, then finally stopped. Was the PSU.
Granted, this was about 1993 or something, and things have changed a lot since then....