Welcome to the community, walch1102 !
You may be able to keep your number when you switch to the T-Mobile postpaid plan with your roommate. I am not entirely certain you will be credited for any remaining time left on the prepaid account. If your roommate is the account holder, they can Contact Them and have you added onto the plan. At that point, you can ask about your pro-rated credit.