UA 3922 then AA 2245 at O'Hare
Tampa → Chicago → Sacramento
Timetable, Chicago time
11:35UA 3922 from Tampa at the gate
10:05AA 2245 to Sacramento leaves the gate
22 h 30 apart on the timetable, overnight
AA 2245 leaves 22 h 30 after UA 3922 arrives on the timetable: more than half a day, so not a connection we count.