P0400 and no end in sight

Hello dear screwdriver, I searched for a long time in the forum but unfortunately did not find what could help me further. It is about the t 25 2,2 l with 177 diesel hp. On the topic: There was no fire on any of the three control lights. The car has never passed into the emergency run until then. Nevertheless, the car did not pull around as desired.. I cleaned the AGR and determined that the valve did not close properly. But I still installed it again. At the test drive from the beginning the three Lamps (vsc, trc and engine) lit. The car ran the same way as before. At some point the lights went out again, but came back again. This game repeated itself and then the engine went into emergency run at irregular intervals. By restarting the engine you could outsmart the system for a short time again and again. Error code P0400 would be read out? AGR defective. So new AGR installed (of workshop) and, yes, everything in the old. Nothing changed. Lamps A second AGR would be installed, but it did not come to a new result. What to do now? It worked everything except for the loss of power at the bottom before. Once expand and install again and everything is broken, it can not be, or. Can it be that there may be a cable break. Hope you can give me a little motivation. Greeting Stephan