OK guys everything is working now. Thank you so much for all your help. The solution was definitely the removal of the 16 gig Intel optane memory stick.  
It has done this from day one. Most of the time it will run several hours before shutting down so I just accepted it and dealt with it. This is my personal PC so it was never a big deal. The odd thing is that when I do a movie download from netflix using streamfab, it will run for days without shutting down. It seems that as long as some job is running, the pc will stay up. If I'm just browsing the internet, it will not stay up.  Just looking for any suggestions that I might try to resolve this.  I have removed my video card with no changes. I have run the Dell system checks. All drivers and the bios are up to date. This doesn't seem to be a heat issue. The top fan is running and the air feels quite cool. I have run it with the side off and a fan blowing in.
XPS 8930, does random shutdowns