How to Fix Missing Organization Profile Dropdown in Contribution Form Settings
The "on behalf of" functionality uses the "On Behalf of Organization" profile which is a default/reserved profile. You should be able to find it by clicking on the Reserved Profiles tab in civicrm/admin/uf/group (or under Administer > Customize Data and Screens > Profiles):