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

A former Coast Guardsman convicted of a murder in Queens will get a new trial because the trial judge permitted a prosecutor to improperly impeach the only eyewitness to the crime, a Brooklyn-based appellate court has ruled.