A Mexican actress has agreed to plead guilty to lying in an immigration proceeding and will avoid a retrial on charges that she engaged in a sham marriage to remain in the United States.