The delivery service driver was shot in the back at the Van Dyke Houses on Dumont Avenue and Powell Street in the Brownsville section of Brooklyn.
Police say the male victim was seen going into the building to make a delivery when as he exited, the 44-year-old was shot at close range.
He was taken to a local hospital and is expected to survive, according to police.
Authorities say it appears to be a targeted shooting, but the incident is currently under investigation.
FedEx responded to the shooting with a statement.
"We are aware of an attack on one of our couriers today in Brooklyn, and our immediate concern is for the well-being of our colleague. The safety and security of our team members is our highest priority. We are gathering more information and are fully cooperating with investigating authorities."
FEEL GOOD | Officer adopts little girl he met while answering welfare check
* More Brooklyn news
* Send us a news tip
* Download the abc7NY app for breaking news alerts
*Follow us on YouTube