At that point it has to be hardware issue. most likely the systembaord. You can run a check on you RAM, and CPU. but it both pass it is most likely the systembaord. You can try running an alternative live CD os like knoppix to see if the shutting down appears there too.
Brandon Moody, March 2008