That service manual is an awesome resources and it will come in handy very soon, I'm currently trying to source a replacement engine since it decided to quietly break a rod. What I've been able to gather is it has to be 05 or newer because of the reluctor wheel. But I don't know how new can I go or if its cross compatible with the Dakota,Ram, or other Jeeps?
I'm hoping someone may be able to help you re swapping an 07 3.7
My concern is that the 2007 were a cross over year just before the KK's came out to play. (any electrical connector issues?)
It may be best to try to find another 2007 engine if at all possible.
Another option would be to get a re-built one from Jasper engines. They update many parts as a quality re-build with warranty.