Josh O’Connor is to play Britain’s Prince Charles in Seasons 3 and 4 of the costume drama “The Crown.”