The University at Buffalo has entered an agreement to sell WBFO-FM and its repeaters in Jamestown and Olean to the Western New York Public Broadcasting Association, which currently owns and operates WNED-TV, AM and FM.