I'm hoping my advice will help, but your issue could be something completely different.
I have an x299 board from ASUS and I was having the exact same crashes. I finally figured it out and solved it after a few weeks of tinkering.
It turned out that the stock voltage used in the standard (non-overclocked) motherboard profile wasn't giving the CPU enough voltage.. I have a 7940x. This meant that the machine ran fine, until it was put under any sort of load and then it would crash, especially in stop start workload environments.
Try and run CPU-Z on your processor and let us know how much voltage is being applied to it. This might identify if it has enough juice. From memory I went into my BIOS and changed a few power delivery settings so that when the CPU needed extra juice the motherboard would gladly give it to it.
If you're unfamiliar with BIOS settings I can try and point you in the right direction, but the thing that worked from me was changing the regular "Auto" AI-Tuner settings into "Manual" and just trying things until the system felt a lot more dialed in. From memory, I applied 1.08v to my CPU and that seemed to stop the BSOD's completely.
It was the first time I had in my computing history where my overclock was more stable than the factory settings.
I wouldn't recommend overclocking if you aren't familiar with what to do, but Linus has some good tips on ramping up power delivery on ASUS boards to i9 chips in this video: