Republican House Speaker Mike Johnson relied heavily on lawmakers from the rival party to overcome a blockade from his conservatives colleagues.