September 8, 2020 | 7:59pm

A man was fatally shot and two other people were wounded in Queens Tuesday afternoon when a gunman opened fire in a courtyard, cops said.

The gunfire erupted around 3 p.m. at 29-43 Far Rockaway Boulevard in Far Rockaway when a man fired multiple rounds on the threesome, cops said.

A 20-year-old man was shot in the chest and abdomen. He was taken to St. John’s Episcopal Hospital, where he was pronounced dead, cops said.

A 19-year-old man was shot in the leg and a 21-year-old woman was struck in the leg and ankle, cops said. They were both in stable condition at Jamaica Hospital Medical Center.

The suspect fled the scene on foot, cops said. There were no immediate arrests.

The bloodshed followed another broad daylight shooting in Brooklyn Tuesday, where three men was injured, including one critically.