The former world number one, who won the title in 2012, will play singles at a Grand Slam for the first time since the 2019 Australian Open.
Andy Murray ranked 129th in the world, Murray was one place too low for direct entry when the entry list was published.
Kim Clijsters, 37, has also been offered a wildcard after coming out of retirement for a second time earlier this year.
Murray, 33, is building up his fitness after struggling with pelvic and shin injuries this year..
Grand Slam winner is planning to play the Cincinnati Masters, which is being held in a two-series safety bubble with the US Open and starts on 22 August.
The US Open, which starts on 31 August, will be the first Grand Slam to take place since the COVID-19 pandemic.
The event is held without fans at Flushing Meadows with players having to follow strict measures.
Defending men’s champion Rafael Nadal has not entered the tournament because the coronavirus pandemic is “not under control” while Australian Ashleigh Barty has also pulled out.