Will this unit and charger work with 3ah and 4ah sized batteries?

Yes, it's compatible with all Makita 12v max CXT batteries.