I recently build a new PC and My computer shut down during GTA 5 so I google and come across this website and figured out i was most likely due to over heating so i went into BIOS at the Temp was 94.5 C. This is with No Overclocking.
ASRock MicroATX B450M
Ryzen 5 2600 Stock cooler
ASRock MicroATX B450M
Ryzen 5 2600 Stock cooler