To many Americans, Bernie Sanders’s brand of socialism seemed to leap onto the national stage from out of nowhere. But in the postwar Jewish Brooklyn where he grew up, the socialist tradition and a veneration for the New Deal were central touchstones of mainstream politics.