WASHINGTON—The Internal Revenue Service will pay tax refunds even though the agency is subject to the federal government shutdown, after the Trump administration reversed a longstanding policy.

Monday’s decision removes one of the biggest potential pains for many Americans from a prolonged shutdown. Even if the impasse over a border wall lasts into the income tax-filing season scheduled to start Jan. 28, the administration’s move will let hundreds of billions of dollars flow to households.

...