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