Can a cat after 4 years of eating dry food switch to wet food?

Of course you can switch foods! However, it may take a bit of time for a cat to get used to eating wet food as the flavourings and fats that are sprayed on to kibble pieces can become rather addictive (although they offer no nutrition to the cat). Be sure to make the change slowly, gradually changing the food over time.