That one could be fun to get the broken stud out of! You have to remove the nut and push the stud out of the tapered hole from the threaded end.
Then as stated, you remove the tie rod end from the threaded sleeve, count the number of turns out, and thread the new one in the same number of turns, but don't forget to put the lock nut on first, if it fits on the tie rod end.