It's always best and easiest to replace it with the same model transmission. You didn't specify if it was manual or automatic so not enough info. If you know the transmission model code (likely an AOD-E) you can look around for that transmission.
Search Ford Mustang Questions
Ford Mustang Experts
Find great deals from top-rated dealersTMSearch
Related Models For Sale
Used Cars for Sale