99 Jetta 2.0 A/T is throwing every code in the book for transmission. My guess is the tcm is no good. My question is can i just buy any TCM? Does it have to match to my current ecu meaning i would need to buy an ecu and tcm together? Any help is appreciated.
You don't need to get both an ECU and a TCM. *IF* you need a TCM for sure, then you need to get one that is exactly the same P/N as the one in your car. If you post your tranny code I can tell you what the P/N should be.
But don't assume that 'lots of codes' means the TCM is bad; it could just as easily be a damaged wiring harness or connector.