To know for certain, you should:
* Check your owner's manual: This is the most reliable source.
* Look at the fuel door: Sometimes the capacity is printed on a sticker there.
* Check the fuel tank itself: If you can access it, the capacity might be stamped on the tank.
Without more specifics about your particular truck, 19 or 22 gallons is the best estimate.