Gremlins are back.
Trying to sort my running issues

Think its now my
air flow sensor,bought 1 off ebay only 3 month old.when fitted the revs
bounce from 800-1000 rpm.
Do I need to disconnect the battery after/before fitting?
The problem I'm having is what feels like a bad missfire in all gears,even does it on acceleration.
Changed:
Dizzy cap,dizzy,temp sensor,coil,plugs,leads,fuel filter.
Ecu relay,fuel relay,lambda sensor.
Vag now says Iat sensor-temp high-circuit low

Any help plz