if the wire is broken then the car wont rev past 2k...It can be caused by a slight vacuum leak, which is unlikely, try cleaning your AFM, if its a new AFM the oil from the filter may be stuck to the wire in your afm. Dont touch the wire by any means, just clean with electrical contact clean as mentioned above.