The most basic reason for PS4 turning on or off is the power supply that may be weak or cracked. So, you have to change or fix it.