Probably $2-4,000 for an engine. About $1,500 for flexplate, transmission adapter plate and starter, $450 ish for engine mounts and an alternator bracket. Those are the major expenses. Budget several hundred more for engine parts that may need to be replaced, hoses, and other fittings.
Going from a 7. 3 PSD, you can leave both batteries where they are if you remove the electric vacuum pump and accumulator pod. Put your air filter where the accumulator used to be. Run a hose and adapter for whatever vacuum lines you need and adapt them with a $1 fitting to the Cummins vacuum pump hose. Your defrost and vents will shift faster and harder than ever, very nice.
Going from a PSD will also require a gas pedal and throttle cable from a V8 or V10 Superduty. If you want cruise control, get some more parts off of that same truck. You'll want the electronic cruise control servo and cable. We just welded cable stops to the Cummins throttle parts to make connecting the throttle linkage simple.
It really can be done in a matter of days, but takes a lot of planning. You will need to be able to do some metal work to reuse one boost tube, and fab the other.
You can buy any exhaust kit that goes from a Cummins downpipe into a regular Excursion exhaust. I used a 4" Cummins downpipe and a 5" Ford Super Duty exhaust. Cost a little over $300 with shipping from ebay. I tihnk fuel lines were 3/8. You'll need to bypass the fuel pump. Using filters there isn't a bad idea.