I have a MacBook Pro (Retina, 15-inch, Late 2013 model) that is currently running macOS Mojave (10.14.2) that is experiencing random crashes. This issue has been occurring for about a year now but has increased in frequency over the last month. When the issue first occurred it was only when it was removed from the power charger, now it is occurring on power or on battery. I have spoken with Apple Care about this and all they can suggest is that I take it into an apple store (unfortunately the nearest store is 100+ miles away). I have tried replicating the issue however I am unable to narrow down one specific action that causes the crashes - sometimes it is browsing the internet, sometimes it is typing a document in Word, sometimes it is editing a PDF, and sometimes it occurs when I just leave it sit for 30+ minutes.
Initially through online research I thought this was related to a battery issue. I opened the case and the LiPos were expanded so I replaced the battery. Unfortunately that did not resolve the issue. I have also tried resetting the PRAM and the SMC to no avail. Additionally I have tried booting into safemode but even in safemode I experienced a crash. There also does not appear to be any consistency to how frequently it reboots, some days I can go an entire day with only 1-2 crashes, other days it crashes every 10 minutes. I also wanted to note that this issue has occurred over the previous 2 OSX installations so it is not Mojave specific.
I have previous experience troubleshooting in Windows but I am not as familiar with the troubleshooting tools on MacOS to even know where to look or how to read crash reports to begin trying to narrow down what might be causing the crashes.