A man was arrested on suspicion of three offences - including dangerous driving - after an incident on the motorway on the outskirts of Bradford.