Since a few days my display driver keeps crashing.

This is wat happens:
- Screen starts to flicker
- Whole screen becomes black, purple or green
- A notification appears that says my display driver crashed and has been recovered
- Sometimes my screen stays black and I cannot get it to display my screen again (plugging in and unplugging a monitor via HDMI works sometimes to get my screen back)
- I have been getting a few BSOD's (SYSTEM_THREAD_EXCEPTION_NOT_HANDLED_M, VIDEO_TDR_ERROR)

Some extra info that might be helpful:
- Sometimes the system works well for several hours, other times it is completely unusable.
- I have had issues with my system turning off randomly two weeks ago, this was most likely caused by the mainboard getting to hot (90+ celsius). I fixed this by cleaning the air outlets. Temperatures are now below 60 celsius).