Sounds like Dragnet.
Sometimes the baddie wore a tie and hat.
Was there ever any gun play on “Dragnet”? I know Broderick Crawford could shoot a snubnose from the hip with uncanny accuracy. Cannon and Mannix, too.