Well, it's not a T in this situation, so it's not charged to anybody.
The only way you can have a T in this type of situation is if:
a) there are more than 5 players for Team A on the court (a Team technical, which isn't charged to anyone in particular and only adds to the team foul count)
b) A substitute enters without reporting to the scorer and/or without being beckoned by the officials (charged to the substitute)