A judge has ordered the Bristol County District Attorney’s office to turn over records of its investigation into an allegation of a romantic relationship between the former top judge in New Bedford District Court and a prosecutor for the DA’s office, court records show. The alleged affair between…