My PC turns off while playing games

What you don't seems to have tried yet is running the system with the Ryzen's APU. So, yank the card and see if you can trip the system off with the integrated graphics.
It's a Ryzen 5 3600, so it doesn't have an integrated GPU unfortunately.
 
Back