The wild fruit of Solanum pachyandrum remains poorly studied, with no previous reports on its physicochemical properties or optimized extraction of bioactive compounds. This study systematically characterized the physicochemical changes during fruit ripening and optimized ultrasound-assisted extraction (UAE) of phenolic compounds and carotenoids using a Box-Behnken experimental design. The effects of methanol concentration (10–70%), ultrasonic amplitude (20–60%), and sonication time (1–15 min) on total phenolic content (TPC), total carotenoids (TC), and antioxidant activity (AA) were evaluated. Response surface models exhibited a good fit for TPC (R2 = 0.929) and TC (R2 = 0.946). Under the optimal extraction conditions (10% methanol, 60% amplitude, 15 min) yielded 90.27 ± 0.60 mg GAE/100 g and 0.795 ± 0.004 mg β-carotene/100 g were obtained in ripe fruits. Fruit ripening significantly affected bioactive profiles, with higher TPC and AA in green fruits (149.62 mg GAE/100 g; 198.32 μmol Trolox/100 g) and a progressive carotenoid accumulation as ripening advanced. Overall, these findings provide the first comprehensive characterization of S. pachyandrum fruits and demonstrate the efficacy of UAE as an eco-friendly strategy for recovering bioactive compounds, supporting its potential application in nutraceutical and functional food systems.