Your problem sounds very much the same as on my car. :wink:
The sudden occurence of your problem may also be correlated to the work done on your car. Here's my really just hypertheoretical guessing:
- valve adjustment -> not done properly, grounding?
- spark plugs?
But maybe it was happening just by bad luck.
The test of bypassing the fuel pump resistor is very easy and done within 5 minutes without throwing a cent at the car.
Prior to this I went through the recommended steps like
- checked sparkplugs (ok)
- coil resistance and condition (ok)
- checking fuel pressure (ok at that time)
- changed the FPR later
- checked and cleaned the injectors (ok)
- thought about the 02 sensors
Another source I thought of would be the VVS because it's acting around 4k rpm but found it unlikely to have such a influence.
In the SM there's description of checking the resistor but only for the case the engine is not running. Above I've mentioned the fuel pump relay to check. This is not correct as the problem would be in the upper rpm range then.
I hope I can tell more in a month or so. Good luck!