WASHINGTON—The House on Wednesday passed a $1.1 trillion bill to fund the government through Sept. 30, a big step toward avoiding a government shutdown on Saturday.

The Senate is expected to vote on the bill before current government funding expires at 12:01 a.m. Saturday, and it is expected to pass the legislation.

The must-pass bill, which...