A Boston federal judge said Thursday that she expects to block the U.S. Department of Homeland Security from bringing an early end to a Biden-era decision allowing nearly a half-million immigrants from Cuba, Haiti, Nicaragua and Venezuela to stay in the United States while they seek asylum or other legal status.