No, courses taken Credit/D/Fail may not be counted toward the requirements of the major.
The one exception is that courses taken Credit/D/Fail in spring 2020 will be counted towards the major as will courses taken Pass/Fail during the same semester.