More than 4000 vehicles have been stopped at the Queensland-NSW border.