Dear Larisa
Attached a drawing that may explain your early emissions control scheme’s.
This is what I think your system does, which is really basic, and that is why mercedes in later models added more redundancy so that system does not engage accidentally the fuel shutoff selenoid as is your case.
So let’s start.
1. IDDLE SWITCH SIGNAL. The iddle switch at intake manifold receives on one side a T15 signal coming from main fuse box, which passes through it whenever the throttle intake butterfly is fully closed, letting the system know when the user is not pressing the accelerator pedal.
2. IDDLE SWITCH SIGNAL GOES to PARKING/NEUTRAL/REVERSE SWITCH. The green cable coming from iddle switch as a positive signal passes through this switch which has continuity on the pins where the green wires are attached whenever the car is in any gear except PARKING or NEUTRAL.
3. IDDLE SIGNAL, then goes to 4 pin relay in your photos, feeding the 86 port trigger signal.
4. 4PINNRELAY. has 2x black/red cables on port 87. One of them comes from T15 circuit at main fuse box. The other is a lace up for the 5 pin relay, which needs a (+) signal on port 86. This relay has continually ground on pin 85, brown cable. The port 30 is used as an OUTPUT port which brings main power to the same port at the 5 PIN RELAY.
5. 5PIN RELAY, is used as the last check previous to sending the activation signal to the fuel cutoff selenoid. The way on which the cables are connected, means that signal will pass to fuel cutoff selenoid allways IF NOT TRIGGERED the relay. The signal used to trigger this relay is the NEGATIVE SIGNAL PRODUCED BY AUTOMATIC transmission low pressure switch (-). So, if the transmission low pressure switch which has a GREEN/RED cable coming from it produces the NEGATIVE SIGNAL, this 5pin relay will INHIBIT signal to fuel cutoff selenoid, in the case that previous system conditions are met. (IDDLE SIGNAL ACTIVE+CAR in any gear but PARKING or NEUTRAL)
So check with a multimeter that connection scheme is as I figured it out.
The second thing to check is if your transmission low pressure lead (GREEN/RED) is connected in the appropriate port at transmission. It should be now be connected to something that is sending a CONTINUOUS NEGATIVE SIGNAL, and that explains the problem you are having.
Best regards
Eng.Leonardo Peterssen
Www.wiredoktor.com