Chaos in a four-variable piecewise-linear system of differential equations