Seems to be ignition, its either coil or ignition module (in many cases these are combined in one unit)
Can you get a photo up of the coil & Wires, then we can work out if it a coil and chip, or just a transistorised coil.
Also, while you are in there to get the photo, carfully check all the wires are in good condition, and if you have a multimeter, check wthe wires have contiuity ( I Imagine they do if there is more than no spark) or shorting.