PC Restarting itself at random intervals during gameplay

If you believe it’s not the PSU, you could investigate separately the CPU, GPU and RAM with OCCT.
I like this tool because it’s simple and effective. According to my experience, if I have a green tick after an hour of test it means that the component is rock stable.