It's been a couple days with no crashes. So the problem might've came from a corrupt Windows installation or the old gpu. I'm going to have the gpu tested later to see if it's fine to use in another system.
Seems like another problem occurred after fixing that one. Now I'm experiencing instability issues when streaming. I'm using Obs and after streaming for a few minutes Obs would crash, the game would crash, or the whole pc would bsod. When I don't stream it's fine. I guess I'll actually need to get the other components checked out.