This problem ususally occurs with the circuit board that controls the dash gauges. On occassions, my mileage would shut off too. I had mine replaced 4 years ago and still going strong.
My dealer had to replace that part because of having the mileage programmed onto the new chip which is located on that board.
_________________________
I came, I searched, I found, I fixed.