Ballast Resistor...Same as ignition box ???

I have heard ya'll talk of the ignition box going out while driving. Is this the same thing as a ballast resitor? Thought I would get a spare for my tool box but could not find the thread. It was no more than a couple of months ago.
Thanks...............