87 Dakota engine swap.

I was looking at an 87 Dakota with a blown 4 banger and 5 speed tranny, decent body for sale. The guy wants $300 but I think I can squeege him down lower. I have a 73 318 laying around in need of a good home. How hard would a swap like that be?