Democrat Josh Stein has won the North Carolina governor’s race, beating out scandal-plagued Republican Mark Robinson.