Breaking the Bank
Along with Winston Davis, he had been riding in the money transfer truck when they spotted the bag where Henry hid in, in an attempt to sneak himself into the bank. When Winston put the bag into the truck, Ted saw that and that made him the second witness for the case. However, unlike Winston, he didn't appear on trial in Escaping the Prison. This is most likely because it was Winston who suggested to put the bag in the truck in the first place.
Stealing the Diamond
When Ted found out that Winston was arrested, he left his policeman job and became a night security guard, just like Dave. During Henry's diamond heist, he is seen talking to another security guard saying what happened during the trial from Escaping the Prison and how his co-worker, Winston, got arrested because he just put the bag in the truck and that it's the reason why he quit his policeman job, because it's "safer".