1996 Ford F-150

I keep getting aa engine warning light constantly, and now occasionally. It has been taken to the Ford dealer numerous times. This sensor is bad, PCM is bad, oxygen sensor bad, etc. All I seem to do is write checks with no real results. What next! I also have the overdrive light flashing for 2-5 miles then it goes out. Whats with that, this in new. Oh! this truck has less than 40,000 miles on it.