The Senate confirmed Billy Long, a former Republican congressman from Missouri, as the new commissioner of the Internal Revenue Service.