70 Duster keeps shutting off

Had the same thing happen on my Duster, was the connector from the steering column to the harness. Would be driving along and it would be like I turned the key off. Pull over and it would start back up. Started wiggling wires, connector was the problem. found bad pins in the connector.