How to make a Lightstick (Firework)
You could use the particle render type "lines" and increase the amount of trailing particles to emulate a streak.



To get the sparkles you may have to duplicate the particle system and use different render settings. make sure to keep the dynamics the same or they will diverge.