Police arrived on scene and asked the man several times to put down the gun, but he fired more shots toward the officers.
According to authorities, the officers feared for their safety and for the safety of neighbors, so they shot the man.
He was hit once in the chest area and taken to Ben Taub General Hospital in serious condition. He is expected to survive, officials said.
No officers or neighbors were injured.
It's still unclear why the man was firing a gun. The case remains under investigation.