A federal judge has blocked the Justice Department's effort to obtain New Jersey's unredacted voter registration database, siding with state officials over privacy concerns.