Malachi 4:5-6:
“Behold, I will send you Elijah the prophet before the coming of the great and dreadful day of the LORD: And he shall turn the heart of the fathers to the children, and the heart of the children to their fathers, lest I come and smite the earth with a curse.”
God promises in again that he is going to send his messenger. You will notice that he said that the messenger will come before the great and dreadful day of the Lord. This day is the judgment day. This day did not occur when Christ came the first time, so it must refer to the second coming of Christ.