A man has been charged with 25 offences after allegedly firing bullets at random from a Croydon Park apartment in Sydney’s inner west.