Preheat your oven to 350°F (175°C). Prick the bottom of the pie shell with a fork and bake it for around 10 minutes until it turns lightly golden. Set it aside.
In a skillet, cook the bacon until it becomes crispy. Remove it from the skillet, drain it on paper towels, and crumble it into small pieces. Set it aside.
Arrange a layer of sliced tomatoes to cover the bottom of the partially baked pie shell. Sprinkle the chopped onion, salt, and pepper over the tomatoes.
Create another layer of sliced tomatoes and season it with salt and pepper.
In a bowl, combine the mayonnaise, crumbled bacon, shredded cheddar cheese, and milk. Spoon the mixture over the tomatoes, ensuring it spreads evenly to cover them.
In a separate bowl, mix the crushed Ritz crackers and melted butter until well combined. Sprinkle this mixture over the top of the pie.
Bake the pie in the preheated oven for approximately 30 minutes or until the filling is bubbly, and the crust turns golden brown.
Remove the pie from the oven and sprinkle the sliced green onions (scallions) over the top as a fresh garnish.
Allow the pie to cool for a few minutes before serving. Slice and savor the irresistible flavors of the Bacon Onion Tomato Pie, which can be enjoyed as a delightful main dish or a scrumptious side for any occasion.