As a clarification to that though, you can't take a 5th gear from an Accord tranny and stick it into a Civic tranny or whatever (only cause I don't know the Honda engine codes well) to mix & match ratios.
i.e. the Nissan KA24 engine was used in a bunch of Nissans. the 240SX has a 0.83:1 overdrive. The Hardbody truck used the same engine but the overdrive is 0.90:1
In Prod and STU, they tend to take the 0.90 gear from the Hardbody and install it in their 240SX transmission. Can't do that in STL since you would have to swap the entire guts.
That said, if the rest of the ratios are the same for that tranny (or more desirable), you could swap the entire guts from the hardbody tranny into the 240SX tranny and be okay.
HTH.