As it's a sleep issue just try opening the advanced power options and making sure 'Hybrid sleep' is enabled.
Can you also post the make and model of your machine as it was difficult to find online with the information I had.
If the bsod continues then you'll need to test your RAM. Windows does have a memory testing app but it can miss errors and the best app for the job is Memtest86.
If you open the link below you'll see you can run Memtest86 in two ways. You can either burn it to disk or install it onto a USB drive it's entirely up to you. You'll then need to enter the bios to change the boot order so you can boot from either the Disk or USB stick you have Memtest86 on.
You must test for at least 12 hours unless it becomes obvious there is a problem straight away (you'll see errors outlined in red. Memtest86+ - Advanced Memory Diagnostic Tool