How can I make the particular trail longer in After Effects CS4?
You need to change lifespan of the particle and move the emitter around.  The longer the lifespan of the particle the longer the trail will be because the trail is composed of ageing particles.