Americans have long tolerated shakedowns by police who boost salaries by pulling over motorists for alleged traffic violations, and tourists know parts of Baja are a hotbed of drug-related violence. But a handful of attacks since summer by masked, armed bandits — some of whom used flashing lights to appear like police — marks a new extreme that has spooked even longtime visitors.