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.

Asked by for the 2003 Volkswagen Jetta
list codes so we can adv
I don't have them, sorry, will try and get from shop