Sounds like a coil.
My car had the same symptoms as you mention, would idle radically (I have cams so it was hard to notice it), it would work fine under 20mph but as soon as I'd open it up hesitation, bucking etc would happen. It got to a point where the car would shut off while driving lol...