The schizophrenic woman who admitted to fatally shoving a commuter in front of an oncoming train at the Times Square station more than two years ago died of an apparent suicide early Wednesday, state sources told The Post.

Melanie Liverpool, 33, was declared dead at 3:44 a.m. at the maximum-security Bedford Hills Correctional Facility in Westchester County after receiving emergency medical attention, the sources said.

Her official cause of death will be determined by the Westchester County Medical Examiner’s Office.

Liverpool’s death comes just over a month after she was sentenced to 20 years to life in prison for pushing 49-year-old Connie Watton of Queens in front of a southbound No. 1 train on the afternoon of Nov. 7, 2016.

During her April 5 sentencing hearing, the victim’s widower, Robert Watton, slammed his wife’s killer as a “psychopath” and a “demented piece of garbage.”

“I am haunted when imagining what happened to Connie that day by this demented piece of garbage, this murderer,” Watton fumed in Manhattan Supreme Court. “The name Melanie means darkness. You are heartless and you have no soul … She is a danger to the public and I wish nothing but a life behind bars for this psychopath.”

Justice Michael Obus slapped Liverpool with the maximum sentence as he said: “This is the quintessential urban nightmare when a total stranger takes it upon themselves to snuff out someone else’s life … I do not believe that a lesser sentence would suffice.”

At the sentencing, Liverpool’s lawyer argued for a lesser penalty, citing his client’s mental illness.

“She pushed her in front of a train and ended her life and that can only be done by someone who didn’t know what they were doing,” lawyer Aaron Wallenstein said.

“There is no disputing that the loss of life Mrs. Connie Watton is nothing short of a tragedy,” the attorney said.

A month earlier, Liverpool pleaded guilty to second-degree murder for killing Watton, a longtime housekeeper for billionaire Blackstone Group CEO Stephen Schwarzman’s family.

Last year, Robert Watton filed suit against the city Health and Hospitals Corp. over his wife’s death, charging that Liverpool should have never been released from a psych ward at Bellevue Hospital Center, where she was ranting about killing subway riders.

Liverpool shoved Connie Watton in front of the train days after she landed in Bellevue for lying about pushing a woman in front of an oncoming train at the Union Square station, police have said.

The widower’s Manhattan Supreme Court suit seeks unspecified damages for medical malpractice.

Hospital staff “failed to recognize that [Liverpool] posed a danger to the public” even though she harbored “ideations of pushing people in front of trains,” the suit says.

Connie Watton was standing on the Manhattan train platform waiting for the 1 train when Liverpool pushed her onto the tracks at 1:20 p.m. that day.

The victim died at the scene.