I'm not really sure myself. Yes, the trans does need to have the correct FD ratio, otherwise the PCM will detect the mismatch and throw a code.
From year to year, there are subtle changes made to solenoids and connectors. You could actually take a 1995 trans and put it in a 2005. Would it work fit? Yea, would it work? Maybe.