Another welcome, and would anything from this article help?: OS X: When your computer spontaneously restarts or displays "Your computer restarted because of a problem." https://support.apple.com/en-ca/HT200553
Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.