Can I restore my previous back up before my iPhone was jailbroken and receive all my data back?

If I restore my phone to get rid of jailbreak Will i have all my data from when I restore my back up on my iPhone from the previous back up I did before it was jailbroken

Yes, you absolutely will, that is the nice thing about jailbreaking, it is reversible quite easy. Just plug you phone into your computer, select restore from backup and watch the magic begin before your eyes.

Hope I could help,
M