Check your power supply fan. It sounds like heat related shutdowns. Make sure you feel air flow out of the power supply.
Also check to make sure the cpu fan is not covered in dust or siezed up.
Also check to make sure the cpu fan is not covered in dust or siezed up.