C. S. Herediano Born in
Grecia,
Alajuela, Rojas began his career in the youth ranks of
Herediano. On 3 September 2022, Rojas made his professional debut in the
Liga FPD with
Herediano against
Guadalupe in a 5–0 victory. On 27 August 2023, he scored his first career goal against
Alajuelense in a 2–3 league defeat. On 30 October 2023, Rojas made his international debut for Herediano in a
2023 CONCACAF Central American Cup match against
Comunicaciones, Rojas scored in the 55nd minute in a 2–1 victory, helping his side to a first place finish in the group stages. On 7 July 2024, Rojas helped Herediano to the 2024
Supercopa de Costa Rica title. Rojas entered the match in the 56th minute and scored the equalizer in the 76th minute against
Deportivo Saprissa. The match would end in a 1–1 draw, with Herediano winning the title 5–4 on penalties. On 27 December, Rojas was crowned champion of the
Apertura 2024 with Herediano, defeating
Alajuelense on an aggregate score of 3–2, having appeared as a starter in both matches.
Loan to New York Red Bulls II On 7 February 2025, Rojas was loaned to
New York Red Bulls II with the club having an option to make the move permanent in 2026. On 7 March 2025, Rojas made his debut for
New York Red Bulls II in a 1–0 victory over
Atlanta United 2, scoring the only goal of the match.
New York Red Bulls On 19 August 2025, it was announced that
New York Red Bulls completed the transfer of Rojas from
C.S. Herediano and signed him to a three-and-a-half-year MLS contract. Rojas had previously made his debut for
New York Red Bulls on 7 August 2025, appearing as a starter in a 1–1 draw with
Liga MX side
FC Juárez in a
Leagues Cup match. ==International career==