Here is a link to a 2010 owners manual if you want it.
www.dodge.com/download/pdf/manuals/2010-Ram_Truck-OM-2nd.pdf
The manual doesn't say how to do it that I could see though. But I found this online, not sure if maybe it wasn't possible with your year, but you can try it. I know other years they can be programmed with one good fob.
Programming The Remote Keyless Entry (RKE) Module
1. Unlock the vehicle and disarm the Vehicle Theft Security System.
2. Insert ignition key into the ignition switch.
3. Turn the ignition switch to RUN position without starting the engine.
4. Using a functional key fob transmitter, press and hold the UNLOCK button for a minimum five seconds (maximum ten seconds).
5. While still holding the UNLOCK button, and before ten seconds passes, press the PANIC button and release both at the same time. A single chime will sound to verify that the RKE module is set to receive the new Vehicle Access Code(s).
6. Within 30 seconds of the chime, press and release the "LOCK" and "UNLOCK" buttons on the transmitter at the same time. Then press and release any one of the buttons. The BCM will sound an abbreviated chime to acknowledge that the programming of the transmitter has been completed and was successful.
7. Repeat step 6 for all transmitters that will be used with this vehicle, up to 4 total.
8. Programming mode will last for 30 seconds. To get out of programming mode sooner, turn the ignition OFF. A single chime will sound to verify that the RKE module will no longer accept additional Vehicle Access Code(s).
9. When Vehicle Access Code(s) programming is complete, turn the ignition switch to the OFF position and verify RKE system operation using each key fob.