So basically you are experiencing BSOD even after replacing RAM, HDD and re-installing the OS. That leaves SMPS, Motherboard and CPU on the hardware part. If it is a hardware issue, one of them might be the culprit. Unfortunately there is no rock solid way to test hardware parts without physically swapping them. Especially in case of motherboard and SMPS, swapping with another unit is necessary.
Considering the age of your system, It looks like your motherboard, CPU and SMPS are still under warranty. I suggest to replace them all using RMA (return material authorization ) to eliminate the faulty component.
Before that, do the following steps and check if it makes any difference.
1 ) Remove AVG completely.
AVG is one of the frequent Windows crashing antivirus program. Remove it at least for testing. To remove it properly, use the official removal tool from the below link.
This utility will remove AVG without leaving any remnants.
2 ) Update the AMD chipset driver from the below link.
If you are still experiencing blue screens after the above steps, try to get the SMPS, MoBo and CPU replaced under warranty.