Moms help me

My baby is 5 days old he started off on formula I had trouble breastfeeding I bought a expensive breast pump and I want to try to give him breast milk now would it be okay to switch him off between the two milks ? I want to start to pump during the days and maybe do formula at nights any suggestions on this ??