A woman has been taken to hospital after a crash which has closed a busy South Yorkshire road.