Return the skillet to medium-low heat and add the butter and shallots. Sauté until the butter has melted and the shallots begin to sizzle, about 2 minutes. Add the eggs and cook, stirring occasionally with a wooden spoon and scrape the bottom of the skillet, until the eggs form very moist, creamy curds. Stir in the tomato and bacon pieces, season to taste with salt and pepper, and continue cooking to your liking, taking care that the eggs remain on the soft and creamy side. Serve garnished with the basil.