Ok so I am having a strange issue where if I'm sitting with the car idling for a while it will stall out and then not start. Funny thing is when it does this the temp guage immediately stops working and displays cold, cycle key and it goes all way up then back to cold even though engine is warm. The car will not start until I keep cycling key on and off then eventually temp guage reads normal and car starts. Also acting like battery is low when it does start (slow crank,) replaced battery same thing. Any help would be appreciated