When I bought my 02 I had to do the same thing. But it started with diagnosis of an engine that was barely running on 2 cylinders. So some small portion of the total below was incurred in diagnosis.
I sourced a replacement engine and trans from a 73 on Craigslist, bought all new belts, hoses, water pump, thermostat, various gaskets, motor mounts, trans mount, clamps, oil, antifreeze, oil filter, and misc hardware.
Install didn't go as smooth as I wanted - a couple of parts took forever to get here (damm you spacer bush) and once the engine was installed they found I had a vacuum leaks in my manifold and brake booster so the shop replaced the gaskets and removed the brake booster. I had the booster rebuilt by mailing it to 2002ad.
There are several of "since you in there" projects for example: I had them also install a shifter refresh kit, replace the brake hard lines, and brake master cylinder etc etc..
I wish I had also replaced/reinforced the front subframe at that time.....but that would have lead to suspension items which I'm gearing out for now.
All said and done - labor was $2652 at close to $120 an hour or 22 hours.
good luck - I know I could have found a cheaper place / price to install but this shop is close by and I trust the guys working there.
Learned a valuable lesson about pre-purchase inspections - get them - no matter what.