Jsou ta jména dlouhá?
That is a question. A correct one, but not a correct translation of the declarative sentence above.
or what about "Ta jsou jména dlouhá."?
No, here "ta jména" belong together. They cannot be separated.
If you want "These/those are long names.", you can have "To jsou dlouhá jména.". But here "to" does not belong to "jména" but to the "to jsou/jsou to" pattern.