A NYPD psychologist was charged Friday with attempted murder after she allegedly shot her estranged husband in the head while in their Westchester home.

Emily Dearden, 46, surrendered to police in Yonkers on Friday, alongside her Manhattan lawyer Paul Bergman, according to the New York Daily News. Dearden also handed in her NYPD identification card to an Internal Affairs Bureau official and was suspended from the police force.

She was charged after she reportedly shot her husband, Kenneth Dearden, a real estate developer, while he was sleeping in the early hours of Nov. 14, 2013. Miraculously, Kenneth survived despite being shot in the head.

The Yonkers police investigation appeared to be stalled until November of this year when Kenneth filed a lawsuit against his wife for trying to kill him so she could continue having an affair with her married lover. Initially, Emily said that the shooting occurred when an intruder knocked her unconscious.

However, there was no evidence of a break-in and the home alarm system had been deactivated shortly before the shooting. The family's Rottweiler was not sleeping in his normal doggie bed next to the master bedroom at the time of the shooting, but in their daughter's bedroom, and was not disturbed from any "intruder," according to Kenneth's lawsuit.

The suit also contends that Emily did not immediately check on the safety of her children, which would be considered suspicious behavior if there were an intruder in the home. Instead she went down to the basement, where pistols given to Emily by her parents were found.

Emily was released on $150,000 bail and ordered to stay away from her estranged husband and their two daughters. She has denied any wrongdoing, and her lawyer accused her husband of filing the suit as a means of retaliation for her filing for divorce.