It all started around 2:30pm at an apartment complex in the 13900 block of Ella, west of the North Freeway.
The Harris County Precinct 4 Constable's Office said the suspect called his son's mother and said he was going to harm himself and their son. Deputies and SWAT officers responded, but the suspect refused to come outside, officials said.
Nearby neighbors were evacuated for their safety while the scene was active.
After a nearly five-hour standoff, deputies said the suspect was taken into custody after being shot with a Taser gun.
The child was not harmed.
According to investigators, the suspect was charged with endangering a child. His name has not been released.
Take ABC13 with you!
Download our free apps for iPhone, iPad, Android and Blackberry devices