He was arrested in January 2016 after two of the women complained to the authorities, and after that, two more women came forward. He was suspended by Mount Sinai after the allegations emerged, and he was later fired.

Prosecutors noted three separate instances in 2015 in which he touched the breasts of women between the ages of 18 and their early 20s who had sought treatment in the pediatric area of the emergency room. One had complained of a headache after taking a pregnancy test, another had a cold and the other had a rash on her eyebrows.

Then, last January, Ms. Newman, who was 29 at the time, went to the hospital for a shoulder injury and was seen by Dr. Newman. Even though she had already been given pain medication by a nurse, prosecutors said, Dr. Newman further sedated her, leaving her physically helpless. She could not open her eyes or speak.

Dr. Newman masturbated at her bedside and ejaculated on her face, prosecutors said. Investigators were able to match DNA evidence from the woman’s eye and cheek to the doctor, officials said. After Dr. Newman was indicted in March, the Manhattan district attorney, Cyrus R. Vance Jr., called the allegations “a nightmare scenario for any patient to endure.”

Ms. Newman, who agreed to be identified through her lawyer, Katherine E. Smith, was the first woman to come forward. “It’s her act of strength that brought us all here today,” Eun-Ha Kim, a prosecutor, said in court on Monday.

There were moments when Ms. Newman’s voice quavered and her eyes welled up with tears as she stood behind a lectern in the courtroom. “I’m so nervous, your honor,” she said.

“I remember thinking, ‘I’m going to die if I don’t get out of here,’” she said.

She said that the drug’s effect was strong, but that she was still alert enough to have a sense of what was going on. Months later, she said, she struggled to come to grips with what had happened, making it difficult to trust medical professionals and other people. Ms. Newman filed a lawsuit last year against the doctor and the hospital.