The child handed the firearm to the mother, who police said, shot Martin in the arm.
Martin was taken to a hospital, where he was treated and released. He faces felony charges of assault and violating a protective order, KPRC reported.
Officials did not release the condition of Martin's former wife. The four children, aged 8, 5, 2 and 1, were not hurt, KPRC reported.