Chosen Solution
So my Mac randomly gets a black screen and then shuts off. The odd thing was that when I run windows(have bootcamp) it never shuts off, so I feel that it’s only on the Mac os side. I tried resetting the PRAM, getting rid of bootcamp, etc. Any ideas?
Common issue with 2013 and 2014 15" Retinas, and there is no known fix. Some think related to CPU, so your best bet is have Apple swap the board.