How to ignore pulse in a circuit
Something like this would do the job. You can probably simplify it even more.



Your 12 V tail light does already contain R5 and if you want to switch the +12 V instead of the ground below it, you will need some more things or drive a relay instead with the output of the comparator.