Thakur Persaud heard a knock at the door of his 197th Street home in Queens yesterday and sent his teenage son to see who was at the door, PIX11.com reported.
One of the robbers, who was carrying an air gun, tried to force his way into the house, police said.
Mr Persaud came to the door and pushed back him until they were near the street. The man shot Persaud in the thigh after he fought back, they said.
"I still have the bullet in my leg," Mr Persaud said.
Two other culprits were hiding behind a fence near the house. Mr Persaud believes his surveillance camera caught them all running off.
"I don't know how it would have ended if anyone touched my kid," Mr Persaud said.
None of the three men have been arrested.
The police described the man in the package as being in his 20s. He was last seen in a black jacket with a hood, black sweatpants and white sneakers with stripes. One of the other men was in a gray sweatshirt and light gray pants. The last man was in a red and black Nike sweatshirt and light gray sweatpants.
The police said that Mr Persaud issued a message for the robbers: "Get a life. Get a job".
Election Results for Lok Sabha Election 2019 will be out on May 23. Get the latest election news and live updates on ndtv.com/elections. Catch all the action on NDTV Live. Like us on Facebook or follow us on Twitter and Instagram for news updates from each of the 543 parliamentary seats for the election 2019