i had the same problem before, it might be bad sticks of ram and your motherboard, assuming u installed the processor right and everything else, a bad motherboard might cause the temp readings to be exorbitant and bad ram causes the frequent shutdowns
also take pic inside your case if u can, it may help us techies help you better =D