The 359-to-57 vote sends the legislation to the Senate, which could take it up later this week and send it to President Trump. White House officials say they don’t want a shutdown, and Trump is expected to sign the bill.