Trouble codes P0442 and P0455 on your Dodge Ram 1500 indicate the following:
a. P0442 EVAP emission control system leak (small). Could be something as simple as a loose or leaking gas cap.
b. P0455 EVAP emission control system leak (large). More than likely a broken or disconnected EVAP hose.
The EVAP system on your Dodge Ram 1500 is not a very complicated system. The fix here requires tracing all the EVAP vacuum hoses from the engine to the charcoal canister, leak detection pump, and gas tank, including inspecting the vent solenoids and roll-over valve (located on top of the gas tank).
1. Start by inspecting all the evap (and LDP) hoses, as mentioned above. Look for breaks, cracks, and disconnected lines.
2. An inexpensive attempt to correct P0442 (after P0455 has been fixed) is to replace the gas cap and drive your Dodge Ram 1500 for 100 miles over the course of a week. Hopefully the small EVAP leak fault was due to the gas cap and a new cap will fix the problem and turn off the check engine light.
3. Next you should check for the proper operation of the EVAP purge/duty solenoid. The EVAP purge solenoid will be located near the charcoal canister and allows for gas tank fumes to enter the intake manifold when activated. Since you mention having already replaced the purge/duty solenoid, we recommend closely examining the hoses leading to and from the charcoal canister.
4. Finally, if no faults have be found with any of the evap hoses and/or solenoids, you should inspect the EVAP canister and Leak Detection Pump unit. Look for cracks, as well as hoses leading to it which might be loose or disconnected.
Once a fault is found a repaired you should reset your Dodge's engine control computer (ECC), clearing the trouble codes. Then drive your Dodge Ram through a drive cycle (basically drive the truck for at least one week in various driving conditions) in order to prepare it for the smog check. Just ensure the check engine light has turned off and the trouble codes have been cleared. The ECC can be reset using a scan tool or by disconnecting the battery for 10 minutes.