Blue screen on my display

I have custom built computer and it runner just fine since first couple months. Then problems started. I started to receive random blue screen errors. I have my computer on warranty so i returned it and they detected ram failure and replaced it for brand new. After couple weeks the same thing happened i returned it and they detected memory failure again and that story repeated well 4 times and problem came back after they replaced all 4 modules of my memory. Blue screen comes randomly does not matter when playing game or my computer is running. I just found general idea of component failure nothing details. I’m trying to figure out what can cause those kinds of failures and how can I possibly fix it. ?
