Yes, like Wes and Les said, does sound like a fuel delivery problem and needs tested. When it doesn't start you are missing either fuel, timed compression or spark. You need to find out what you do not have when this problem occurs. I doubt it is compression at this point. If you can get a long enough hose on the rail you can snake the gauge out the back of the hood and tape to w/s and watch fuel pressure ranges while driving.
Welcome to the forum from Oregon.
We recommend that you put all your rig(s) info in your signature so we all don’t have to guess at year, make, model, engine size, trans, rear axle locker…….etc. While you may have posted pertinent info in your first post, you may forget to do it again and the info is needed by us anyway. Makes it way easier on all members that attempt to help, to have that info right up front. It is also recommended that you take a pic of your RPO codes, on the inside cover of the glove box, and post that image in your signature. All this info will greatly help those that will try to help with a problem.
If there is any other info, like upgrades, mods or recent mechanical/maintenance work done, that would be helpful in any post as well. Too many times a question is asked by the poster and after about 10 responses we find out that the poster has done recent work to attempt to fix the problem or work that was done that SEEMS not related to the problem.