Five people have been charged after a man was attacked with a tomahawk and residents threatened with a knife during a crime spree, police say.