In this study, we propose a regime-switching model for temperature dynamics, where the parameters depend on a Markov chain. We improve upon the traditional models by modeling jumps in temperature dynamics via the chain itself. Moreover, we compare the performance of the proposed model with the existing models. The results indicate that the proposed model outperforms in the short time forecast horizon while the forecast performance of the proposed model is in line with the existing models for the long time horizon. It is shown that the proposed model is a relatively better representation of temperature dynamics compared to the existing models. Furthermore, we derive prices of weather derivatives written on several temperature indices.