Will a 3.4 engine from a 2002 Montana fit in a 1997 3.4 size?

Yes.