Williams, 26, is currently jailed at the Coxsackie Correctional Facility near Albany. He is expected to be arraigned in Queens Supreme Court by the end of this week.
Newsday recently reported that Williams had confessed to shooting McMahon during a botched robbery carried out by him and a second assailant.
McMahon’s cell phone and wallet were stolen after he was shot.
McMahon, who was 46, was working a night shift supervisor for the DEP’s Bureau of Water and Sewers and was in his official car when he was shot once in the head and mortally wounded.
Evidence at the scene indicated that Mr. McMahon likely put up some resistance to his attackers and attempted to drive away. However, his car crashed into the wall of a warehouse just a few yards from where he was shot.
“Mr. McMahon was a New York City Department of Environmental Protection supervisor and a family man with a wife and three children whose lives were shattered by his violent and tragic death,” District Attorney Brown said in announcing the Williams indictment.
Williams has been charged with murder in the second degree, robbery in the first degree, criminal possession of a weapon in the second and third degree and tampering with physical evidence. He faces up to 25 years to life if convicted on the most serious charge.
Williams is currently serving a 1-to-3-year term for weapons possession.
District Attorney Brown commended New York City Police Department detectives with the 114th Precinct and Queens Homicide for their work in the McMahon investigation
McMahon died three days after the shooting at Elmhurst Hospital. Mayor Michael Bloomberg was at his bedside shortly before he died.
McMahon, from the Scotstown area of County Monaghan, had lived in Levittown, L.I.
A month prior to the shooting, Williams was released on parole after serving four years for stealing property and drug possession.
In late 2003, Williams was back in the penitentiary after being arrested for shooting his gun in the air.