James Brindley, 26, died on Aldridge High Street in the West Midlands on 23 June after an evening out with friends.
Aaron Kahrod, 20, from Walsall Road, Aldridge, and a 17-year-old boy appeared at Birmingham Magistrates' Court.
The pair were remanded in custody to appear at the city's crown court on Monday.
Read more news from Birmingham and the Black Country

The indictment says Hubert Zafke was an accessory to the murder of at least 3,681 people during one month in 1944. It says he was an SS medical orderly.
The trial is to start on 29 February in Neubrandenburg. Mr Zafke remains at home, a prosecution spokesman said.
The Nazis killed about 1.1m people in Auschwitz, most of them Jews.
During the month covered by the indictment - 15 August to 14 September, 1944 - the teenage Jewish girl Anne Frank arrived at Auschwitz-Birkenau, the most notorious Nazi camp complex.
Her diary, describing the ordeal of her family hiding from the Nazis in Amsterdam, remains a worldwide bestseller. She died in Bergen-Belsen, shortly before that camp's liberation by the British Army in 1945.
According to the indictment, Mr Zafke served in the SS in a different part of the Auschwitz complex from October 1943 to January 1944, during World War Two.
Prosecutors say that, like the other SS guards at Auschwitz, Mr Zafke was well aware of the camp's function as "an industrial-scale mass murder site".
Last year a German court sentenced Oskar Groening, 94, to four years in jail as an accessory to the murder of at least 300,000 people at Auschwitz.
Known as the SS "book-keeper of Auschwitz", he was allegedly responsible for counting banknotes confiscated from prisoners.
How the Holocaust unfolded, year by year
Why did ordinary people commit atrocities in the Holocaust?

5 February 2016 Last updated at 13:10 GMT
It shows cast members, including Arthur Lowe, John Le Mesurier and Clive Dunn interviewed in character as they attended a vintage vehicle rally in Brighton in 1974.
The BBC South Today film report, which has not been broadcast for more than 40 years, was found in the library at BBC Broadcasting House in Southampton.
A film version of the legendary TV sitcom, directed by Oliver Parker and staring Toby Jones and Catherine Zeta Jones has been released.
A man and a teenager have appeared in court charged with murder after a man was stabbed to death.
[NEXT_CONCEPT]
A 95-year-old former SS member will go on trial in north-east Germany next month accused of assisting in the mass murder of Auschwitz death camp inmates.
[NEXT_CONCEPT]
News footage of the original cast of Dad's Army being interviewed has been unearthed.