A woman with mental health problems took a pedestrian hostage at a bus stop in Brazil, but a police officer with a taser pistol saved her.