A driver has been charged with immigration offences after a six-year-old child and a woman were found hidden in a lorry.