Need Some Advice

I am looking at buying a 1994 dodge Dakota with a V6 automatic with 74000 miles.I am looking to swap the V6 for a 340 I have sitting in the garage.Has anyone done this and is it very difficult to do it. Any pointers as to what I will have to go through to do this swap. Any input appreciated.I sold my daily Driver and now I need something else and this is what I am thinking about doing.