what are you doing when the computer shuts down?
Generally random shutdowns are linked to two things. Power issues, or overheating. Sometimes it can be a failing component (like hard drive, or RAM). I would suggest that you download speccy (its free) and monitor your temps when you start it this time, and watch closely at the temp when it shuts down. Post back the results.