Context of the verse
These verses come in the middle of the rulings on divorce. First comes the command that divorce be given according to the iddah (waiting period); that when the iddah is nearly over the wife be kept on good terms or parted from in a good way; and that two just witnesses be taken. Then Allah says that whoever fears Him, He will make a way out for him. In other words, a person who keeps within Allah's limits even at a delicate moment such as a family dispute or divorce will not face regret and hardship later.
A man who had given three divorces at once came to Abdullah bin Abbas (may Allah be pleased with them both). Ibn Abbas recited this verse and said: You did not fear Allah, so I find no way out for you. This report is in Sunan Abu Dawud with an authentic chain. It shows that Ibn Abbas also understood this verse in the context of divorce: divorcing in a way other than the way of the Shariah goes against taqwa. The scholars' difference of opinion on the ruling of three divorces in one sitting is well known; the aim here is only to explain the meaning of the verse.
Meaning of the verse
Although the verse comes in the context of divorce, its words are general and include every matter. Taqwa (God-consciousness) is that a servant acts on Allah's commands and avoids what He has forbidden. Three promises are made for it: a way out of every difficulty, provision from where one never imagined, and Allah being enough for the one who has tawakkul (reliance on Allah). At the end of the verse Allah says that He will surely accomplish His purpose and has set a measure for all things, so the servant should not be hasty and should be content with Allah's timing.
Abdullah bin Mas'ud (may Allah be pleased with him) used to say that there is no verse in the Quran that brings relief more quickly than this verse. This is his own saying, reported in al-Adab al-Mufrad with a hasan (good) chain.
The true meaning of tawakkul
Tawakkul does not mean abandoning the means; it means taking the lawful means while keeping the heart's trust in Allah. Sunan al-Tirmidhi reports from Umar (may Allah be pleased with him) that the Prophet ﷺ said: If you relied on Allah as He truly deserves, you would be provided for as the birds are provided for: they go out hungry in the morning and return full in the evening. The birds do not sit in their nests; they go out. That is the true picture of tawakkul.
When and how to recite it
The most famous report about the virtue of Wa man yattaqillaha yaj'al lahu makhraja is from Abu Dharr (may Allah be pleased with him), that the Prophet ﷺ said: I know a verse which, if all people took it up, would suffice them. Its chain is broken (munqati'), so the hadith scholars have called it weak. Likewise, the popular practices of reciting this verse a set number of times for provision, a job or a marriage proposal have no authentic evidence. The real practice of this verse is to act on it: leaving sins, earning lawfully, giving people their rights and trusting in Allah. Recite it whenever you wish for recitation and reminder.