The generation of terahertz (THz) radiation in a doped semiconductor with a sufficiently large bandgap interacting with a femtosecond pulse of IR range has been investigated. Generation occurs due to the simultaneous effect on the conduction electrons of a constant magnetic field and time-dependent ponderomotive force. The spectral composition, total energy and shape of the THz radiation pulse are found.