The toddler was found in an apartment on San Aleso Avenue Friday afternoon.
A few minutes later, police found a despondent woman on a nearby highway overpass and brought her to safety.
Officers say she is connected to the apartment where the boy was found, but her relationship to the boy is unclear.