Question Pc randomly turning off

Nov 7, 2019
1
0
10
My PC has been randomly turning itself off, at first I thought it was the wiring in my house being shitty cause whenever the oven or a vacuum cleaner and similar appliances were being used, it would turn off. I have moved but the problem is still happening, the screen just goes black but the lights and fans in the pc stay on. Tried a ups and it didn't work and just recently cleaned all the dust out so dont think it's a overheating problem.

Specs:
AMD FX 4350 Quad Processor
Radeon RX 450 Graphics Card
ZM500-GV PSU
If you want any others, ask and I'll try find it