President Trump said on Tuesday that he would order a temporary halt in issuing green cards to prevent people from immigrating to the United States, but he backed away from plans to suspend guest worker programs after business groups exploded in anger at the threat of losing access to foreign labor.

Mr. Trump, whose administration has faced intense criticism in recent months for his handling of the coronavirus crisis, abruptly sought to change the subject Tuesday night by resuming his assault on immigration, which animated his 2016 campaign and became one of the defining issues of his presidency.

He cast his decision to “suspend immigration,” which he first announced in a late-night tweet on Monday, as a move to protect American jobs.

But it comes as the United States economy sheds its work force at a record rate and when few employers are reaching out for workers at home or abroad. More than 22 million Americans have lost their jobs in the economic devastation caused by the virus and efforts to contain it.

Mr. Trump said that his order would initially be in effect for 60 days, but that he might later extend it “based on economic conditions at the time.”

While numerous studies have concluded that immigration has an overall positive effect on the American work force and wages for workers, Mr. Trump ignored that research on Tuesday, insisting that American citizens who had lost their jobs in recent weeks should not have to compete with foreigners when the economy reopens.