TSA Pre can help, but if you have a similar name to someone on a watchlist or no-fly list you can still get stopped.
If anyone reading this is consistently stopped unfairly, or faces extra delays when ticket agents print their boarding card, you should use DHS TRIP (Traveler Redress Inquiry Program)