UA 777 then AA 2277 at O'Hare
Tampa → Chicago → Sacramento
Timetable, Chicago time
08:41UA 777 from Tampa at the gate
21:08AA 2277 to Sacramento leaves the gate
12 h 27 apart on the timetable
AA 2277 leaves 12 h 27 after UA 777 arrives on the timetable: more than half a day, so not a connection we count.