Lawmakers in the House of Representatives approved the bill Tuesday night by a vote of 336 to 75 .