Charles E. Goodell had been a Republican congressman from western New York for 10 years when , in September 1968 , Gov . Nelson A. Rockefeller appointed him to fill the Senate seat left vacant by the assassination of Robert F. Kennedy .