The decision by the former mayor leaves the incumbent, Kirsten E. Gillibrand, without a prominent opponent.