Does Touching a Girl Break Your Fast?
Question

What is the ruling on touching a girl’s hand, hugging her or kissing her during the day in Ramadan?
Praise be to Allah.Is it haram to touch a non-mahram girl?
It is haram for a man to touch the hand of a girl who is not his mahram . Prophet Muhammad (peace and blessings of Allah be upon him) said: “For one of you to be stabbed in the head with an iron needle is better for him than for him to touch a woman who is not permissible for him.”( Narrated by al-Tabarani from the hadith of Ma’qil ibn Yasar (may Allah have mercy on him); classed as sahih by al-Albani in Sahih al-Jami’, 5045.) 
Hugging and kissing a non-mahram girl
If this applies to mere touching, then hugging and kissing are even more serious matters. If the woman tries to do that, the man must stop her, and not allow her to do something  haram with him. 
Does touching a girl break your fast?
This is a general ruling which applies to the one who is fasting and to others. But if a person is fasting, it is even more important that he keep away from all haram things and all things that can provoke desire, which go against the wisdom and aims of fasting. Allah says, explaining the reason why fasting has been enjoined (interpretation of the meaning): 
“O you who believe! Observing As-Sawm (the fasting) is prescribed for you as it was prescribed for those before you, that you may become Al-Muttaqun (the pious).” [al-Baqarah 2:183]
And Allah says in a hadith qudsi: “Fasting is for Me and I will reward for it. He gives up his desire and his food and drink for My sake.” (Narrated by al-Bukhari, 7492; Muslim, 1151) 
The one who has done that must repent to Allah and resolve never to do it again. 
With regard to his fast, that is subject to further discussion: 
If semen (maniy) came out of him because of this action, then his fast is invalidated and he must make up that day. If no semen came out of him , then his fast is still valid. 
But the fact that his fast is still valid does not mean that there is no sin on him or that his fast is perfect. Not at all. Rather every sin that a person commits detracts from the reward of his fast, and may cancel out the reward altogether. 
The Prophet (peace and blessings of Allah be upon him) said: “Whoever does not give up false speech and false actions and ignorance , Allah has no need of his giving up his food and drink.” (Narrated by al-Bukhari, 6057) 
He also (peace and blessings of Allah be upon him) said: “A fasting person may get nothing from his fast except hunger and the one who prays at night may get nothing from his qiyam but a sleepless night.” (Narrated by Ibn Majah, 1690; classed as sahih by al-Albani in Sahih Ibn Majah) 
We ask Allah to set our affairs straight and to protect us from temptation. 
And Allah knows best.