2004 dodge ram engine swap
You can but it won't be easy, you will need the entire running gear, all of the electronics, mounts and the driveline from the donor vehicle. Then there maybe some more calabration that will have to be done to make the speedometer right. However if you live where emission testing is required for license it won't pass.
Search Dodge Ram 1500 Questions
Dodge Ram 1500 Experts