Some TVs go black when they lose signal and receive static. Instead of static, they go blue or black, depending on the make/model of TV.
You could also have a failing circuit board component (usually a capacitor) or the backlight itself inside the TV that is getting too hot, thus partially shutting down and causing the screen to go black. Power cycling the TV can temporarily resolve the issue until the heat build up reoccurs through regular use.
If TV signal is not the culprit, I would do one or all of the following:
justme4now’s suggestion of a possible bad HDMI cable could easily be the culprit. HDMI connectors are extremely fragile and can be broken with even the slightest amount of pressure. Switching the cables out is a good test.
I second these thingsit sounds more like a cable box connection issue.
Go through a new set up. I programmed my cable box remote to run the TV, not the other way around.