The 05's were different in the TBI, but otherwise, other than 1 sensor, I don't remember anything else we switch when I helped out a friend with his engine. He blew out the rt side chain cassette, so it was remove the engine. While we had it out, he found another engine from an 08 from somewhere and we switched it out. I just don't remember us having any big problems with the exchange. Both were 4.0's, and automatics. We even updated his to the later TB so he didn't have the hose heater piece. Much cleaner setup and worked flawlessly. Good luck.
Black '07 4.0 coupe. 19" GT Wheels, Bullitt susp & GT brake upgrade, GT500 strut plates, Dynomax exhaust w/GT mufflers, S/D Coil, Live Wires, JLT CAI w/Diablo tune, Hood struts, IPU, GT MyColor, Leather Pwr Seats, 13 Boss Strg Wheel, a/dim mirror, Homelink, amb light console, Ford Nav/SYNC, hood scoop, qtr & side scoops, r/w louvers, GT500 spoiler, CS/GT frt & rr bumpers, rad ext & batt-m/cyl covers, underhood caps, plenum cover, tloc 7.5 w/3.73's, Seq t/lights, trunk switch. Whew!