Editors’ Note: This article has been updated to reflect a Correction.

A Queens judge has ruled that a lawsuit accusing New York City of failing to protect a woman who repeatedly asked the police for help against her son’s violent outbursts before he shot and killed her and himself in 2007 will go to trial.