If RAM isfaulty you will typically get a Blue Screen Of Death
If the PC shuts down it could be several things:
- Overheating
- Power supply faulty
- CPU fan has died
Try opening up the side of the PC and when you power the PC on, do all the fans turn ?
How far does it get before it shuts down ?
Does the power simply just turn off ?