the history of acute onset of pain, burning in nature, in the second toe followed by a bruise
and a swelling would need more history of the circumstances viz., where were u, in a park etc, bare foot or open foot wear.
The burning sensation is suggestive of an insect bite, which can also lead to a reddish coloured bruise (ecchymosis
Other options like gout
really do not come on in such a manner.
Hope this is helpful to u.
With best wishes