Judicial candidate Linda Wilson won the Democratic primary in a countywide race for Brooklyn Civil Court, defeating party-endorsed contender Turquoise Haskin with 65% of the vote, according to an unofficial count reported by the New York City Board of Elections.