Sounds electrical / AFM.
Start by cleaning them, grab some CRC mass air flow cleaner from super cheap. Check and clean your connections as well.
If no luck, then go down the repair / replace path.
Just thinking, depending where you are located, maybe there's someone nice on here that can lend you some AFM's to test before purchasing?