Could be the PSU. Could be the RAM. Have you run MemTest? Also, it could be an overheating chipset. Trying pointing a fan at it, then go through some tasks that would cause it to shutdown/restart. Also, check your event logs, that might give you a clue, and turn off automatic reboot so if you do get BSOD, you can see the error message.