Edward R. Dudley , a retired New York judge and former borough president of Manhattan whose manifold career took him from civil rights advocacy to an ambassadorship in Africa , died on Tuesday at St. Luke 's Hospital in Manhattan .