What do you do after school?

Literal

After-school, you [topic-は] what [object-を] do-[polite-ます] [question-か]?

A textbook-style question — correct but the use of あなた makes it sound slightly stiff. Native speakers usually drop the pronoun entirely or use the listener's name; the presence of あなた keeps this from sounding fully natural.