Welcome to the club!
Are your battery cables on tightly? I was working on my truck one night and was drinking a couple of beers and got really tired. I forgot to tighten the negative battery cable and just placed it over the post. The next day it kept vibrating off and killing the engine.
But if this is way off just put the truck to on without cranking the engine and read the codes.