ms. ferraro , a former new york congresswoman , was the running mate chosen by democratic presidential nominee walter mondale , making her the only woman ever nominated for president or vice president by a major political party .