A 20-year-old man from San Marcos pleaded guilty to robbing a business and three carjackings in Escondido, and faces up to life in prison for one of the charges.