Hello, sounds like some kind of electronic or internal mechanical concern with the transmission. This will require hands on testing to learn more about. It does not sound very hopeful, to be honest.
www.repairpal.com/repair-shops
RepairPal Certified shops can diagnose and repair your 2007 Lincoln MKZ. They provide transparent pricing with a minimum 12-month or 12,000-mile warranty on repairs and services.