will a 97 dodge 360 interchange with a 01 315

I have a 97 1500 4x4 with a 360 in it that needs a motor, I have a 01 2wheel drive 315 I want to know if I would be able to put this motor in the 97, and what It would take to do it, will the transmission bolt up to It?