Can you try putting back the RAM?
Then note down the BSOD error. Usually, when a BSOD occurs, Windows
will restart in a few seconds, barely enough time to note down the
errors. To stop the restarting, do this:
Right click My Computer and select Properties.
Select the Advanced tab. Under Startup and Recovery, click on the
Settings button.
Under System Failure, untick Automatically restart box.
Click OK.