Samsung Dryer Won't Stay Running

I have a Samsung Dryer that won’t stay running. When I select anything on the sensor dry side of the selector the readout goes to 44 runs for a minute then shows 43, then after a minute of running the readout goes to 1 and shows cool down mode and shuts off. It will run on the "timed dry" side of the selector. I have changed out the "sensors" in the drum and the wiring harness from the sensors. Any clues as to what I can do to fix this problem. Thanks