You need a new SIM.
Once a SIM has been deactivated, it cannot be reactivated.
Put the unactivated SIM in a phone and call 611. If the phone says "Invalid SIM" "Unregistered SIM", etc. Then you need a new SIM. T-Mobile is big on having people get new SIMs.
Manage your T-Mobile account