CynthiaS199 Hello.
Yes, trains run all year round. A lot of a people travel to Zermatt for winter sports.
In the Alps, the probability of events like snow avalanches and landslides is higher as in other regions, but it is unpredictable and you have to take this risk when travelling.