Based on your question I have assumed that you received a ticket for failing to stop at a stop light. This is a minor traffic ticket. Minor traffic citations do not usually have any impact on obtaining U.S citizenship. However it is best to cover all your bases. It would be beneficial for you to pay your ticket and then obtain a court certified copy from the court that you have paid your ticket in full to present at your interview. In addition, if you have any other traffic citations or criminal history it would be to your advantage to consult with an immigration attorney prior to your interview.
Assuming it is a run of the mill failure to fully stop, then it won't impact your naturalization application unless you fail to disclose it. Inform the officer of the ticket at your examination.