A democratic socialist won the Democratic nomination in a Florida Senate race over a moderate favored by the party establishment.