I have recently experienced a similar issue with "crashing". My issue was more freezing than crashing.
I define freezing as seeing your program open on your screen ( or desktop background ) but unable to type, move mouse, or gain back control via CTRL + ALT + DEL for example.
Crashing usually involves a Bluescreen, Error or Spontaneous reboot.
I would first suggest running a memory scan. This will ensure the RAM isnt bad. Diagnosing memory problems on your computer
If that passes, it could be a power supply or motherboard problem. In my case, I replaced the power supply and issue persisted. I reinstalled Windows, as in a format reinstall. Same issue. It turned out to be my motherboard. I replaced it and was good to go again. No freeze ups.
With a laptop...Motherboard failure might result in you trashing it. Usually replacing a motherboard on a laptop is more expensive than a similar replacement unit.