The victim, in his 30s, was shot in Swancote Green, Bracknell after answering the door to two men at about 18:00 BST last Sunday.
He was treated in hospital and later released.
Police said 28-year-old Scott Kennedy of Sturdee Close, Frimley, Surrey, is accused of one count of attempted murder.
A 63-year-old man, also from Frimley, Surrey, arrested in connection with the shooting has been bailed until 26 June.
Mr Kennedy is due to appear before Reading Magistrates' Court.

The slow left-armer, who had managed only six wickets in his previous 17 Tests, helped dismiss India after tea despite the home side winning the toss.
Murali Vijay top-scored with 75, while leg-spinner Imran Tahir claimed 2-23.
South Africa struggled to 28-2 in the 20 overs possible before the close, with opener Elgar unbeaten on 13.
Off-spinner Ravichandran Ashwin, opening the bowling, trapped Stiaan van Zyl lbw for five before Faf du Plessis - also playing no shot - was bowled by Ravindra Jadeja.
Nine of the 12 wickets in the day fell to spin, with Vijay - lbw attempting to sweep Simon Harmer - part of a collapse from 102-3.
"This is not a good Test pitch wicket though it's a result-oriented one," said Elgar. "We sort of expected it to play like that but we didn't expect it to crumble so early.
"It was right up there with the hardest ever Test cricket I've played. Let's hope that it backfires [on India] and turns out to be a great victory for us."
India's batting coach Sanjay Bangar responded: "It's a very challenging wicket where run-making is not easy.
"It says 201 runs on the scoreboard but it's worth far more. But I think runs can be made on this wicket as Vijay showed. It's going to be a test of patience both for batsmen and bowlers."
This Test is followed by matches in Bangalore, Nagpur and Delhi.

Despite being relegated to League One, Mowbray says that he has the backing of Blackburn's owners, Venky's.
"They've been very supportive and I think they are going to give us some financial support, to ensure that we have a very strong season next year," he told BBC Radio Lancashire.
"They are basically telling me that those decisions will be mine. There is no pressure to sell any players."
Mowbray replaced Owen Coyle as manager at Ewood Park in February, but could not save Rovers from being relegated from the Championship on the final day.
The 53-year-old has experience of managing in the third tier having been in charge at Coventry City before Blackburn.
"What I know now is it's a really difficult league," he added. "There are some big strong powerful men in that league. It's a job for men, not for boys, which I found out at Coventry City."
A man has been charged with the attempted murder of a man who was shot in the chest at his Berkshire home.
[NEXT_CONCEPT]
Part-time spinner Dean Elgar took 4-22 as South Africa bowled out India for 201 in Mohali, on the opening day of the four-Test series.
[NEXT_CONCEPT]
Blackburn manager Tony Mowbray says he is under no pressure to sell players.