Its most likely not a software issue because it shut off when I was in the bios and I've reinstalled the operating system.
I've tried running single RAM DIMMS
I thought it might have been the motherboard so I changed the motherboard.
I've tried different graphics cards, but I doubt that could be the problem.
Right now I'm thinking the problem is with the PSU