you don't say what engine size this is but it should be on the mechanical injection system K-jetronic
this sounds like a lack of fuel and could be a lack of fuel pressure from the electrical pump at the tank.
If the connections to the pump are corroded or damaged then the pump could stop at any time or could notbe running at full speed. Check that its relay switches in and out and the relay contacts are clean and bright – replace the relay if in any doubt and do the same for the fuse,
Ideally measure the pressure at the inlet to the main engine fuel distributor (should be 5 to 5.8bar) and if this is low check the pump as described and also consider changing the fuel filter as if this partially blocked this too will reduce pressure.
If this is OK then remove the rubber intake boot from the fuel distributor and then unscrew on the top of the unit find the central nut , pipe feed into the fuel distributor and push down on the aluminum plate under the rubber boot you should see the main fuel metering pin / needle rise up smoothly as you push down the plate, if its sticky or dirty then its possible this is getting stuck.
If this is OK then remove all the injectors but leave them connected to their fuel lines and put all into a clear container then turn the ignition on and (having replaced the central feed pipe nut) lift up the aluminum plate all the injectors should spray at once and look for ones that aren't spraying as much as the others - and replace or ultrasonically clean as required.
I'd also try setting the mixture as follows:
so run the fuel pump and depress the air flow sensor plate for a couple of seconds to bleed air out of the fuel distributor. Remove one injector line from the top of the fuel distributor, and while looking into the injector port in the top of the fuel distributor turn the mixture adjustment screw clockwise until the port just starts to fill with fuel then turn the mixture screw 1/2 turn counter clockwise. Reinstall the injector line, start the engine and adjust mixture when it reaches operating temperature. This is the Bosch recommended procedure for initial mixture setting and adjustment.