I had the same kind of starting problem a couple of weeks ago. It turns out the only thing wrong with mine was the connections on the relay plug, as the only thing I done was to remove the plug, spray the connections with cleaner, and it has been working every time since.
Here is how you can check it out to see if the relay is working. Turn the key to the run position, then go to the start solonoid and lift up on the bottom of the solonoid lever. This solonoid is located at the rear of the injection pump, just below the (AFC) Air Fuel Control. The lever should stay up, and the truck would then start if you hit the start position on the key. If the lever does not stay up, then you have a different problem associated with the solonoid. The relay for this is located on the fire wall, on the drivers side, just below the rubber seal for the hood. There are two of them mounted on one bolt. The start relay is the one nearest to the drivers side.
Hope this helps.
Wayne
amsoilman