Two details in this history matter most: what caused the injury, and how long it took for symptoms to appear.
The combination of a vegetable matter injury and a delayed, several day onset of pain, photophobia, and redness is the textbook picture of a fungal corneal ulcer.
Let's summarize:
So the most likely pathology is a fungal corneal ulcer.