Farhadian Weinstein, one of the leading candidates for Manhattan district attorney, was considered for a federal judgeship at the beginning of the Trump administration.