You should shoot a cop when he breaks in to your house in the middle of the night uninvited and without identifying himself.
Otherwise, in 99.99% of situations, it's probably best not to shoot a cop.
Something similar to that happened in Portsmouth VA, the gy is still in jail.
You only shoot a cop when you want to get into a lot of trouble and have your life pretty much changed in a bad way, forever.