I can't say that bad ram caused that, but I can say that a stick of bad ram can cause a multitude of errors. Most of which, the error codes do not directly point to ram. When the ram hits the 'bad spot', it just depends on what you are doing at that moment.
Are you sure you have the ram set correctly in bios? You never showed the screenshots of CPUz. Did you run memtest for 8 passes? Until you do, you will not know for sure if you have other ram problems. What frequency, voltage and timings are on your ram sticks?