I had my ECS replaceed and my TPS and the code for TPS was gone but the ECS code came on after 5 miles is it possible the new one

I have a 1989 chevy corvette C4 and I recently had the TPS and ECS changed out. The codes were 42 for the ECS and 22 for the TPS. The TPS code went away but after driving 5 miles the ECS code and check engine soon light came on and the performance dropped off on acceleration and fuel economy. Would it be possible the New ECS control defective?

My car has 95000 miles.
My car has an automatic transmission.

– I had my ECS replaceed and my TPS and the code for TPS was gone but the ECS code came on after 5 miles is it possible the new one