Former MLB superstar Yasiel Puig is facing up to five years in prison ... after he agreed to plead guilty to lying to the feds during their investigation of an illegal gambling ring.
Federal prosecutors announced the plea deal on Monday afternoon ... saying the ex-Dodgers outfielder intends to make a guilty plea to one count of making false statements at a court hearing later this month.
The charge, according to the feds, carries a maximum sentence of five years behind bars.
Puig -- who's now playing baseball in South Korea after seven seasons in the MLB -- had been accused by officials of placing bets through an illegal gambling business beginning back in May 2019.