Sounds like it is fine in either carry-on or checked baggage.
tsa.gov said...
Medications (Liquid)
Carry On Bags: Yes (Special Instructions)
Checked Bags: Yes
TSA allows larger amounts of medically necessary liquids, gels, and aerosols in reasonable quantities for your trip, but you must declare them to TSA officers at the checkpoint for inspection.
https://www.tsa.gov/travel/security-screening/whatcanibring/items/medications-liquid