A woman was in custody Friday afternoon in connection with a hit-and-run pedestrian collision in Oakland that critically injured a child, police said.