5.7 in a '97 Ram.

There are a couple of guys who have done this on the dodge Truck hemi swap Facebook. Tons of info on there. Also a site called DIYHemi.com that has pinouts for making your own harness. Not sure if they are finished with there newer offerings.