904 behind a 340

Yes, I believe so , just have to change the flex plate
Welcome to this great site and I would give a good tec time to jump in here and give you advice, I am not sure but I think the motor mounts will have to be changed for a 340, but still,,, I am not 100% sure.
We have some great tec's here and I am not one of them