The Boston Red Sox have finalized a minor league contract with 19-year-old Cuban infielder Yoan Moncada.

The Red Sox announced the deal Thursday night. He will be assigned to the team’s minor league camp at spring training.

The switch-hitting Moncada played two seasons for the top league in Cuba. He spent last year at second base.

Moncada’s agent and the Red Sox reached agreement in late February on a deal with a $31.5 million signing bonus. Moncada had to pass a physical before the contract was completed.

The Red Sox will pay $63 million overall to get Moncada, due to a tax by Major League Baseball involving international signings.

Join our Newsletter for the latest news right to your inbox