1987 Dodge Dakota 5.9 swap with a NV3500

I have a 1987 Dodge Dakota that has a 3.9 in it and was a factory 5 speed truck. The truck originally came with a A535 aka NV2500 tranny. Tranny has been pulled but everything else is there. My question is would a NV3500 bolt in the Dakota behind a 5.9 Mag that’s being converted over to carb? Motor is stock except for the carb conversion. The NV3500 came out of a 99 Dakota RT where the guy had did a swap but he but a big block in the Dakota. I’m getting a new clutch and pressure plate etc... included in all the deal. Just want to make sure the tranny will work in the Dakota. Thanks