A funding lapse this year would have a considerably wider effect than the 35-day one that took place during Trump’s first term and could last longer, given heightened political tensions.