Cpt.Derrek
bdary
Have you tried a new certified DP or HDMI cable? Maybe the cable you're using is failing.
Plus one for possible bad cable, even a certified one can "wear out" if it's been flexed enough. I would try a new cable first.
While replacing the cables often is a good idea, I haven't ever heard of it doing more than just not giving a display to the monitor. When the computer is crashing it would be something else as a problem however, I wouldn't rule out multiple problems since it's not uncommon for a random issue to seem like it's connected to a common problem.