I have a Dodge Ram and my A/C stops blowing cold air when I stop moving. When the truck is moving the A/C works great. What would cause this and how do I resolve it?

Thanks !