If it's a feature phone the numbers should be stored on the sim card.
Hi Scott - gramps28 is correct here, generally older, "phone first" devices stored contacts on the SIM. I'm sorry to hear your screen broke! Were you able to move the SIM to a replacement device and load your contacts onto the new phone?
Manage your T-Mobile account