Bismillah ArRahman ArRaheem
Wa-Alaykum As Salaam
There is no problem in running a business such as a store or gas station. However, the selling of forbidden items (harram items) is not permitted. Things that are najis such as alcohol have no intrinsic value Islamically (ie $0 value) and can not be bought or sold. So if you are to buy that shop, then you can not sell the beer, you would literally need to dispose of it. You can not sell it then donate that money to charity, as the act of selling it in itself is forbidden.
So in summary: You may run the shop, however, you would need to remove the forbidden items (beer, forbidden magazines, etc) and Insha-Allahﷻ your sustenance will be with Allahﷻ and customers will come to buy from you what is permitted, and those who want to buy what is forbidden can go elsewhere!