In 1966 , President Lyndon B. Johnson appointed her as a judge on the United States District Court for the Southern District of New York at the urging of Senator Robert F. Kennedy of New York , a Democrat , and with the support of Senator Jacob K. Javits , a Republican .