Well, here we go, always remember to install a fresh copy of windows when you buy a new hardware, specially if it is something important like CPU, what is happening now is a bug caused by windows, the previous drivers still exist, when windows wants to verify the new hardware, it causes a conflict, and boom the blue screen shows up, install a new copy of windows and you will be fine.
Don't forget to close the post, if you feel you don't have any other questions