I would do it with awk myself, Much depends on what you want to do to the 1000'th word on the line.
in sam you can even play with your awk script in the command window, editing it submitting it and if its wrong you just Undo and try again. Similar things can be done in acme I believe but I don't know that. -Steve