A gunman fired shots at a group of men on a residential street early yesterday in Bay Ridge , Brooklyn , then chased one of them for a block before shooting the man fatally in the chest , the police said .