Check your spark plug wires,
look at night with the hood up
and engine running, if you see
a spark jumping from the boot,
replace the plug wires.
I'm going to guess you pulled the
plug wires off when you did the header
and one of them is damaged or old
and is now leaking the high voltage spark
Wild