Engine wants to die at stop lights

Well,I got off work went home to try some clothes pins,but since the weather here has dried up some my loving wife hung the laundry out so I rapped my line with foil took the the old girl out for a drive on the interstate and then some and low and behold no stalling issues.So now I know what the problem is how can I fix it without using foil?