That is the coil, but doesnt mean the coil is bad.
Sounds like trailing igniter bad?
Coils usually will work until warmed up then go out and will work again until warmed up again, thne go out.
Trailing igniter is the one you have to take the dist out to get to, in between alt and dist.