PC keeps cutting out

Jun 10, 2018
1
0
10
So my motherboard fried and i got a replacement since getting the replacement exact same make and model my pc boots for a while then cuts out i checked my components and they seem fine could it be my hard that's dead ? I have been trying to reinstall an os but i can't keep it on long enough for it to do that ive had it boot up in aafe mode right to my desktop can anyone help