Dakota starter?

I bought a starter for a 95 Dakota. 318 or 360 the same. It's on the
Duster. 71 340 block and trans. I think it will work.