I would..
check your temps. if they are fine then:
take out your video card. and all but 1 slot of ram. unplug all your shit except keyboard. close any progs like mouse drivers. see if it still does that.
if it does, swap the ram, and check again.
if it still does it then its prob mobo/cpu/psu.
the common psu test, the paperclip test, isnt going to do anything. since your computer turns on and all that stuff. I would be more inclined to think its mobo of the remaining. cpu almost never break and seems like a weird problem for psu but idk im not an expert. ofc if you have a spare psu, test it.