A road safety scheme in North Yorkshire is set to be expanded after a trial.