My 97 started throwing the P0102 and P0340 codes. Since I had a problem with burnt wires before (laying against manifold), pealed back the covering and found what looked like a slight break in the red (?) wire. I spliced this back together and still have the code.

It seems if the MAF was out I'd get a different code and I assume the P0340 is a related code.