I had a normal period that ended a week ago. 4 days after that, I had bleeding again and got a positive pregnancy test. Is this a miscarriage?

Concerning. Obviously there's not enough information here for us to answer this. Bleeding with a positive pregnancy test is concerning though and should be promptly evaluated by your doctor. Miscarriage and ectopic pregnancy must be excluded.