Thanks for the Speccy.
1. The GPU may be at the heart of the issue. If this was in the shop we'd swap in one of the shop test bench GPUs, set that up and have the owner test it.
2. The HDD is in trouble. When you see those 01 and 07 values so high you often see complaints of speed, BSODs and more. This drive is not to be used in a machine that has to be stable.
3. The BIOS is not the latest. While there are other issues, these BIOS updates are often for stability.
http://speccy.piriform.com/results/ykcs3vbwr5cbWQWbj0R0F57
I'm going to stop here and suggest these areas are dealt with. Also, I take it this is not an issue that has been with the machine since new.
Note: Edited for grammar.
My computer will frequently freeze where the screens go black, a loud buzzing sound happens in the speakers, and I have to hold the power button to turn it off. It usually only happens when doing something graphic intense like playing a video game. The computer is about 4 years only but was not in use for the last 6 months, and was experiencing this issue for a few months prior to that. When I first got the computer I did not have the cooling system on the parts list below and was running the stock cooler. During that time I did experience intermittent unexpected shut downs that I believe may have been related to overheating. I installed the listed cooling system and have not experienced that exact issue since.
Speccy Snapshot:
http://speccy.piriform.com/results/ykcs3vbwr5cbWQWbj0R0F57
Components:
https://pcpartpicker.com/list/t7y9Bb
Things I have tried:
Reinstalled windows-same problem
ran checkdsk/f and repaired a few errors-same problem
swapped ram with a computer I know works-same problem
swapped graphics card from a computer I know works- interesting, see below.
I borrowed this graphics card(https://www.newegg.com/Product/Product.aspx?Item=N82E16814487025) from another computer. With it I experienced the same problem, but only once in two days of gaming instead of every 5-20 min. Additionally I noticed that with the borrowed graphics card my FPS would reach above 100 when the setting was unlocked in game, but with my graphics card it usually only gets to low 70s. The graphics card I borrowed does not require additional power but mine does.
It is likely unrelated by my computer stopped seeing my SSD so I am booting from my HDD now.
Any tips, advice, or input of any kind is greatly appreciated.
Thank you!

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic