To remove and install a tie rod, first measure its length if an alignment machine is unavailable. Remove the cotter pin(s) and castellated nut(s) from one or both ends of the rod, marking the relationship between the flats of the tie rod end nut and the tie rod before loosening the nut. Use a wrench on the flat portion of the tie rod end to hold it stationary while loosening the locknut with a second wrench. Employ a tie rod end puller, such as the Mazda tool no. 49-0118-850C, to detach either or both ends from the steering knuckle or center link, then unscrew the end from the tie rod. For installation, loosen the tie rod locknuts, insert the rod ends through the holes in the steering knuckle or center link, and if only one end is being replaced, screw the end onto the tie rod and position the ballstud through the steering knuckle or center link. Install the castellated nut(s) and torque them to 22-33 ft. lbs. (30-45 Nm), followed by the installation of new cotter pin(s). If an alignment machine is available, adjust the toe-in and torque the tie rod locknuts to 51-58 ft. lbs. (69-79 Nm). If alignment must be done at a shop, ensure the tie rod length matches its original state before replacement, torque both locknuts, and have the toe-in checked promptly.