You can use a different engine, but from 2003 on up, same engine should go back into the vehicle to save yourself from a lot of headache. The closer year match the better.
Search Dodge Ram 1500 Questions
Dodge Ram 1500 Experts
Related Models For Sale
Used Cars For Sale