You should check the idle speed contact on the lower part of the throttle plate.
Also check to make sure that there is no binding in the throttle cable or related hardware.
The other possibility is a fault in the fuel mixture controller (air plate housing)> If any problems are seen, the system will go into limp.
A lambda tester will show a fixed percentage and can be traced this way if the fault is occurring at that time.
ASE CERTIFIED MASTER AUTO TECHNICIAN
MERCEDES SPECIALIST 8 YRS
PARTNER IN MERCEDESSHOP.COM
OWNER OF MB AUTOWERKS .COM