This sounds like white butterfly, white fly or leaf hoppers. Simply hose them off with a strong stream of water and spray the plant with Neem. White fly love tomatoes but they don't like basil, so plant basil next to your tomatoes to help repel the whitefly.