If your MacBook Pro is over 6yrs. It's time to replace the Ribbon Cable and this should stop the computer from turning itself off and getting the Black screen. This worked for me. Good luck.
open