Marla Krolikowski, who was fired from her job as a teacher at a Roman Catholic high school in Queens for insubordination after acknowledging in 2011 that she was transgender, died on Sept. 20 in Oceanside, N.Y. She was 62.

She collapsed and was taken to South Nassau Communities Hospital, where she died, her wife, Thea Krolikowski, said. A cause of death had not yet been determined.

Ms. Krolikowski’s firing prompted her to file a well-publicized lawsuit that ended in a confidential settlement. She and her allies saw the outcome — as well as a state judge’s decision to let the suit proceed in the first place — as a victory.

Ms. Krolikowski had been teaching for three decades as Mark Krolikowski — “Mr. K” to students — at St. Francis Preparatory School in Fresh Meadows, Queens, when the parent of a ninth-grade student complained about the teacher’s earrings, shoulder-length hair and French manicure.