A Brooklyn artist died weeks after he was randomly attacked by a man inside a Brooklyn bodega, according to authorities.

Marc Faust, 66, succumbed to his injuries at Kings County Hospital on Tuesday night — two weeks after 24-year-old Jason Jacobs repeatedly punched him in the face and body in an unprovoked attack on July 2 inside of Food Corp. deli on Rogers Avenue in Prospect Lefferts Gardens, police sources and relatives told The Post.

Faust was rushed in critical condition to Kings County Hospital, where medical staff ultimately made the decision to take him off life support, said his ex-wife, Lee Renner.

“There was so much brain damage, so many broken bones in his face — his jaws, eye sockets, nose — and his brain leaked and he had a concussion,” Renner explained. “We were very worried if he came through we’d have to put him in a nursing home. We didn’t want to see him left in a vegetative state. We didn’t want to see him like that.”

Jacobs was arrested the next day and charged with attempted murder and assault, police said. It was not immediately clear if his charges would ultimately be upgraded to include murder.

Renner said Faust did not have identification at the time of the attack. She recalled how she and their 21-year-old son learned about the tragedy around 7:30 p.m. that day — after cops were able to locate Faust’s address, where they found his cellphone and his son’s phone number.

“When he first got the news, he went to his room, pulled out a picture of him and his father when he was young and he started crying,” she added.

Faust moved to the area from New Jersey, and was renting a room in a home on Clarkson Avenue, just across the street from where he was attacked.

“He loved his son very much — he did. They always hang out and enjoy each other’s company.”

He and Renner co-owned a glass-working and repairing business, and even made glass trophies for the 25th anniversary of the Apollo 11 mission to the moon, she noted.

“We always worked hand in hand,” she recalled. “He was very talented.”

Neighbors spoke lovingly of the “gentle soul.”

“He didn’t deserve that,” said 50-year-old Colin Budhai, a barber whose father was the landlord of the building in which Faust rented a room. “He was a quiet, cool, calm man. He was a nice person — never gave us any trouble.”

Budhai’s mother, Hermine, cried as she learned the news of Faust’s death.

“Can you believe it? The man just went across the street to buy something,” the 76-year-old lamented.

“I was going to see him today but now …,” she said, crying, unable to finish her sentence.

“I miss Marc in my heart and soul.”