Similar to above mine started playing u after a RR setup (fine on the rollers).
I changed loads of stuff, ig amp, dizzy cap and arm, crank sensor, temp sensors, leads, plugs.
Some items improved it slightly but never fully fixed, so i bit the bullet and bought a new engine loom, and all is OK now. The wires become brittle and break down, these are now old cars remember.