A woman aged nearly 90 was taken to hospital after a crash which closed a busy South Yorkshire road for hours.