Generally, if it is a title of a department, we'd use the Department of Education, or the Education Department.
If it's not a title, capitalisation doesn't matter. "Tatarstan is a republic; the school has various departments".
Yours are titles.
Education Department of Republic Tatarstan and
Education Ministry of republic Tatartstan Education department
I'd use capitals.