This is not an immigration question. You are in a wrong forum.
The information contained in this answer is provided for informational purposes only, and should not be construed as legal advice on any subject matter,not should it be viewed as establishing an attorney client relationship of any kind.
He needs to see an immigration attorney before he goes to court. This is a serious charge for immigration purposes. Some attorneys do offer free consultations.
Please be advised my answers to questions does not constitute legal advice and you should not rely on it, due to the fact that we have never met, I have not been aprised of the facts in you case nor have I reviewed any documents.
That isn't a ticket, it is likely a summons for hindering or obstruction of justice. That can have consequences. Your friend has to be very careful. This doesn't indicate what the basis for the stop was, that may be a defense. He should determine if he qualifies for any legal status, he can do by going to www.qualifyforlegalstatus.com or in spanish, www.calificasparapapeles.com. If he qualifies for something, he shouldn't wait. Regarding the pending charges he needs to find a qualified defense attorney in his area.