To be certain, you should:
* Check the body style: Make sure both trucks are the same body style (regular cab, extended cab, crew cab). Doors are not interchangeable between these.
* Compare part numbers: The most reliable method is to find the part number for the door on both trucks and compare them directly. You can usually find this number on a sticker on the door itself or through a parts catalog (online or at a dealership).
If the part numbers are the same or very similar, the doors will likely be interchangeable. If they differ significantly, there's a chance they won't fit or will require modification.