Yup. that's a 99-04 T5 that put in.
Old trans says Borg-Warner, so it's pre-1998. Top cover does look like it has the provision for the NGS, so it's likely a Fox trans.
Assuming no parts have been swapped on these trans, the 99+ T5 will have an input shaft that sticks out 3/4" longer. I...