The 28-year old left-back is expected to travel to Rio de Janeiro in the next few days to undergo a medical and to then put pen to paper on a three-year deal.
After the two clubs had agreed a fee, Rojas told Rádio Cooperativa:
”I am happy for this new challenge and I hope to spend a long time in Brazil.”
Rojas captained Universidad de Chile to their Copa Sudamericana triumph last year beating Ecuadorian side LDU Quito in the final.