A Manhattan federal judge held Friday that prosecutors are required to turn over to the defense allegations of misconduct by testifying officers in criminal cases, setting up a conflict between New York state and federal law.