Spontaneous shut downs are often caused by overheating........how long has
it been since you cleaned fans, filters and chased out the 'dust bunnies?'
(and made sure all fans are working properly)
Are you getting any error messages?.....if so, quote them.
Heirloom, old and time for the telly