Remove damaged 5.7 hemiengine refit 4.7l
It will go in but all the electronics will not match, some of the accessory mounts might have to be made, then there's the exhaust, torque converter, it will have to be checked for compatibility with the 4.7, the ride will be different as the 5.7 is heavier than the 4.7, performance will be way down, so all in all it will be a lot of work and you most likely won't like the outcome.
Search Dodge Ram 1500 Questions
Are you a UK consumer? CarGurus now has a discussion forum in the UK.
Dodge Ram 1500 Experts