1. Was the drive wiped and a fresh install of the OS (what OS?) made along with all the usual post install work? If you change motherboards, odd things can happen.
2. No mention of BIOS version. Must be latest. I'm running into this issue more and more as new builders and old are too scared to update.
Note:Edited for grammar.
I bought my new PC about 5 months ago, and 2 months after I bought it, I would be playing any game and the PC would just restart without warning or anything. The screen just turns black. I have sent in and replaced my motherboard, GPU, CPU, power supply, CPU cooler, RAM, hard drive, power strip, everything except my case. Here is a brief list of my parts: Intel Core i7 7700k 1151 LGA Kaby Lake @4.20GHz MSI Z270-A PRO G.Skill Ripjaws V x2 8GB DDR4 4100MHz RAM NVIDIA GeForce GTX 1060 6GB (also tested with AMD Radeon R9 270) Corsair 600w Power Supply (also tested with EVGA 500w PSU) NZXT S340 Corsair Hydro H100i v2 (also tested with Hyper 212 Evo)
The PC restarts about 30 minutes after I start a game, so it seems like a overheating problem, but I don't know.
I have replaced everything that could be a bad product, but it still happens. Please help.

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic