DS went through a similar phase. When he would throw something I'd get it and say 'we dont throw xyz, if you want to throw something you can throw a ball' and then hand him a ball. It took a few weeks, but worked, he hardly every throws stuff anymore.