Probably borrowed from Catalan traginar, from Vulgar Latin *tragināre, from *tragere, from Latin trahere (“to pull”). Compare French traîner, Italian trascinare.
Practice speaking and memorizing "trajinar" and many other words and sentences in Spanish.