Authorities said Bonifasio confronted one of the officers standing outside the home when the gunfire erupted.
It is unclear who opened fire, but police said no one was struck in the shooting.
Bonifasio jumped out of the home through a window but was taken into custody by officers without further incident.
An investigation in under way into the shooting.