I'm a little confused by the questions -
Are you using the pen tool and making a path, or are you using the custom shape tool to "draw" the star?
If the latter, you have the option of making the shape 1-a shape layer, 2- a path, or 3-fill pixels.
Use option 2 if you want an editable path.
Let us know if I've misinterpreted the question.
Thanks,
Donna