A federal judge in New Jersey on Thursday ruled that former Trump defense attorney Alina Habba is not lawfully serving as the state's U.S. attorney.