The resident was able to get away and called police.
Officers said the suspect came outside with a rifle and fired several rounds, ignoring the officers' command to drop the weapon. Officers returned fire, hitting the teen several times.
The suspect was taken to a local hospital and was expected to survive.
No officers were hurt in the incident.