If memory serves, the Passenger Door Module PDM is the interface for the keyless entry system.
I think I would first buy a single new remote off of eBay and try to program that before I went to the expense of replacing a PDM.
If that works, just buy as many (up to 4 total) new remotes and program them.
You have to reprogram the remotes all in one session.
When you reprogram a remote, all previous remotes are forgotten.
If your truck has driver setting presets, when you program the new remotes, the first and third remote you program will be for Driver 1 and the second and fourth remotes will be for Driver 2 presets.
The driver presets that are selected are determined by which remote you use to unlock the doors.
If your truck does not have driver presets, then disregard.
BTW, a dealer will have a remote testing device that can tell you if the remote fob is working correctly.
Just go up to a service writer and have them test your remotes.