check motor light on, code- miss firer and cam adjustment. how to fix? on 2003 Volkswagen Jetta

car over heated, had all part for cooling system replaced, motor runs rough, check engine light on, with miss fire and cam adjustment, what is wrong, had one place tell me to replace motor, that cant be, car runs fine, just sound like crap.

Get Your Car Fixed at a RepairPal Certified Shop.
We certify shops based on expertise, quality work, and verified customer reviews
1 answer 1 comment
list codes so we can adv
I don't have them, sorry, will try and get from shop