A South Shields community group has received £338,967 of funding from the National Lottery.