Federal agents have detained a 5-year-old boy and his father in Minnesota, taking them to a detention facility in Texas.