E250 Air con

i have a Ford E-250 ford Van. sometime when i turn on the air it goes from cold to Full hot on. this happens some time when i go over rough roads. this will also happen to the Vent setting. Please help.

What year van?