It seems that you are very intent on replacing that AFM. That is an expensive part, so better to do the ignition stuff first. It probably needs the stuff anyway. I manage a smog shop up here in the Mojave Desert, and I see way more problems with wires, plugs, cap and rotor, O2 sensors and cat...