I am not too sure you provided enough facts for us to assist you. Did the light turn red and you were blocking the intersection? Was there some reason why you could not make the turn on yellow - i.e. pedestrians, avoiding a potential accident because another driver ran a late yellow/red? It may serve you best to hire an attorney to fight this ticket for you. Most attorneys will charge between 300 and 400 for their service which when you consider that you will spend the better part of two days in court if you did this on your own is certainly worth the money.
The above answer is for general information only and is based on the information you posted. Every case is fact dependent, so to get a thorough analysis of your situation, you will need to consult face to face with an attorney licensed to practice in the jurisdiction where the incident took place. Do not conclusively rely on any information posted online when deciding what to do about your case.