Set the Plays ("Play Count" before iTunes v9.2) of the selected tracks to a user-entered number (they will all be set to the same number). If this number is 0 then the Last Played date of each track will be erased. (iTunes has the ability to "Reset Plays" to 0 from a track's contextual menu.)
Also see Add or Subtract Play Count.
Apple Music users should beware of a potential bug.
Perhaps Also of Interest...
downloaded 16m 38s ago
Remove iTunes tracks disassociated from files
downloaded 17m 31s ago
Load this script in your Login Items to activate an iTunes playlist at startup
downloaded 37m 51s ago
Apply selected CD's CD Text to its disc and track tags
downloaded 58m 54s ago
Sort purchased tracks into discrete playlists by name or Apple ID
downloaded 1h 15m 39s ago
Applet assists with swapping, copying, appending data between track tags
downloaded 1h 19m 13s ago
Batch merge and/or delete playlists