Re: e40d swap
It will bolt up with no problem. The issue you are going to run into is the connector for the solenoid pack. The older trans has a different plug configuration. You could swap the solenoid pack out with no problem though if yours is still good or just buy a new solenoid pack for it. They aren't very expensive.
97 F-350 XLT CC DRW 4X4 PSD, 285/75-16 Custom bumpers, Gauges-boost/egt/trans, Swamps IDM, 3.5"dp- 4" exh., 3" Body lift, ES bushings/mounts, Built trans, billet conv, B&M pan, Hayden cooler, Adrenaline, stage 2's, IC, H2E, E-fuel
ARP's, 910's, Smith Bros. to come