Glad to have you here. As far as your question, I am no expert on these, but since the Dakota and Durango are basically the same base, I would think they would swap. Only thing I can think of is there might be some differences, as far as improvements from 1 yr to the next. Not sure if you'd need the ecm from the Durango or not. Perhaps, someone with more knowledge on the subject, will pop in and provide more input.
should swap right in basically the same truck, might be a good idea to swap the ecu but don' think you have to. I've been using a 00' durango for parts got all the window regulators, wind shield, rear axle assy, brake calipers, thinking about the torsion bars because the ones on the durango are thicker than mine. not done researching this swap yet. this durango has a 5.9L in it. I've been digging around i would love to do the hemi swap, but stroking that 360 to replace my 4.7 is also very tempting. both of these swaps require changing and reprogramming the ecu. we took a 5.4 from a silverado last year and put it in a 71' chevelle I had to send the ecu to memphis to get it reprogrammed. putting the same motor back in you can use your same sensors only changing hard parts shouldn't require an ecu change.
sorry so windy just thinkin out loud.