A Fargo-based media company that owns WDAY-AM, flagship TV property WDAY-6 and The Forum newspaper serving this South Dakota city and neighboring Moorhead, Minn., has agreed to purchase an NBC affiliate and two low-power television station siblings in Rapid City, S.D., in a transaction that sees Kalil & Co. serve as the exclusive broker.