Hi!
Is your machine clean of dust?
Have you double-checked to verify that your cooling works properly, a stress test tool should not cause the system to overheat up to a point where it fails/shuts down.
Also, due to the randomness of the error codes, I would recommend that you test the RAM sticks one by one, alternating slots using:
Test RAM with PassMark MemTest86
Thank you.