Man dies after attacking family