I have a 2.4 in my 1996 Cirrus. Can the auto tranny from it be used in a 1995 Cirrus that has a 2.5 in it?

I found a $400 1995 Cirrus on Craigslist that sounds like it’s in fair shape with a number of parts recently replaced on it. It’s cheap because it has some deer hit damage and the tranny is out. I know a Chrysler tranny guy who does side jobs so I might be able to get it swapped out fairly cheap.