A person has been taken to hospital following a collision on the A19 which has resulted in the road being closed in both directions for around five hours.