Ford recalls 4.3 million vehicles over a software problem that could cause trailer brake failure and a loss of exterior lights when towing.