Norfolk Southern Corp. is acquiring from the Delaware & Hudson Railway Co. (D&H), a subsidiary of Canadian Pacific Railway, 282.55 miles of rail line between Sunbury, Pa., and Schenectady, N.Y., in a $217 million sale.