AC fan goes on and off when in the on position. on 2000 Dodge Ram 1500

When I start my truck the AC fan may or may not come on but after driving a while it just starts blowing again. When it goes off it still has a little bit of air coming from the vents. Air is cold.