ignition help please

is the ignition box new? they are known to go out without any warning at all. i had one on a pickup that would work for a while then go out then work again. wouldnt get any spark.. try another one.