Will a 5.9 v8 engine fit in a dodge Dakota?

It should. The 5.9L Magnum is available as a factory option in most or all years of Dakota production.