"Will ford ranger engine and tranny fit right up"
"Fit right up" is a broad expectation. It can primarily mean do the engine/transmission mount positions bolt right in, the driveshaft slip right in (without yoke or length alteration) and that the engine intake, exhaust, fan and accessories not hit the the inner panels, hood, crossmember and radiator in the Pinto. Secondary concern is the fuel plumbing/wiring for the engine especially if the engine is EFI. The VAM (if older EFI) and air cleaner location can also be an issue. Even "2.3 engine" is ambiguous because does that refer to the 2.3 Lima engine (such as the Pinto and older Rangers used)..., or the Duratec 2.3 in the newer Rangers.
The bottom line is that if some here had that information they can likely suggest that things MIGHT fit but I doubt that anyone could guarantee anything because there are too many variables. In any case the more information provided the better chance you will have of getting an effective answer.