Preheat oven to 350 degrees F (175 degrees C). Stir corn, flour, sugar, butter, salt, pimento peppers, eggs, bell pepper, processed cheese, and milk together in a mixing bowl, respectively; pour into a 9x13-inch baking dish. Bake in preheated oven until the cheese is melted, about 45 minutes.