It could be that you have some sediment in the tank that is being sucked into the sock on the pump as you drive and then when it sits for a while it falls off the sock and back to the bottom of the tank. Might be a good idea to inspect the pump and tank before replacing the pump.