there could be a Battery, battery cable, Alternator (which would drain your battery to death), Steering Column, or Starter issue, if none of those end up being the issue, you may want to take the vehicle to a parts store and have them run a computer diagnostic on it, as fuel sensors and other things can have an impact here
You could have your distributor cap backwards. Also check the firing sequence on your spark plug wires, if these are not in the correct order the truck won't start.
If the engine started prior to changing the distributor cap, check to make sure the spark plug wires are firmly attached the the spark plugs, the distributor cap and the solenoid.
The first thing I would check would be the wires, to make sure you have them in the correct firing order. Another problem could be that the timing itself is off.
You may have put the wires on in the wrong positions. Also you have have disturbed the rotor button so that it is out of alignment or not making good contact at the base. Third option is that you got a faulty cap, check to make sure contact tips are not damaged or loose.