There is a starter relay that might be sticking on which is controlled by the PCM or you may have a bad PCM, would run a scan on the truck to see what comes up. You can get a CAN scanner (Controller Area Network) from Amazon.
Here is a video to show you how:
https://youtu.be/u-4syLc-ifQ
and
https://www.2carpros.com/articles/can-scan-controller-area-network-easy
Here is one for about $99.00 if you need it:
https://amzn.to/3ZixY4v
Here is the location of the starter relay so you can swap it out and I have included how to change out the PCM as well in case you need it. You can get a preprogrammed unit by searching Google or Ebay. Check out the images (below). Please let us know what happens.
Images (Click to make bigger)
Thursday, March 30th, 2023 AT 12:31 PM