Most students I know were TA for one or two semesters and RA for the remainder of their 6 years. As far as I can tell, they are all a financial gain, not drain, for the university. That will likely depend on the department though.
I don't know about Masters students.