1995 Chevy Truck low on power and wants to stall

i have a 95 chevy truck with a 305 in it, it starts fine and idles fine in park and nuetral but in gear it idles rough and and seems like its missing and it accerlerates poorly. Just put in a new fuel filter and spark plug.